Permalink
Browse files

Fast fix on _closeOnEsc funtion (uncommenting funtion calls)

  • Loading branch information...
1 parent a18ebcc commit b7f630f2d2ca36b4bb7771b88755a10f8da9018e julmis committed May 22, 2004
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/editor/popups/fullscreen.php
@@ -136,10 +136,10 @@ function() { window.close(); } ];
// continuously update parent editor window
setInterval(update_parent, 500);
- // setup event handlers
- document.body.onkeypress = _CloseOnEsc;
- editor._doc.body.onkeypress = _CloseOnEsc;
- editor._textArea.onkeypress = _CloseOnEsc;
+ // setup event handlers FAST FIX IS UNCOMMENT THESE, NOT WORKING!
+ //document.body.onkeypress = _CloseOnEsc;
+ //editor._doc.body.onkeypress = _CloseOnEsc;
+ //editor._textArea.onkeypress = _CloseOnEsc;
window.onresize = resize_editor;
}, 333); // give it some time to meet the new frame
}

0 comments on commit b7f630f

Please sign in to comment.