From: julmis Date: Sat, 22 May 2004 17:07:55 +0000 (+0000) Subject: Fast fix on _closeOnEsc funtion (uncommenting funtion calls) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b7f630f2d2ca36b4bb7771b88755a10f8da9018e;p=moodle.git Fast fix on _closeOnEsc funtion (uncommenting funtion calls) --- diff --git a/lib/editor/popups/fullscreen.php b/lib/editor/popups/fullscreen.php index cc5d275efd..7755d9401b 100644 --- a/lib/editor/popups/fullscreen.php +++ b/lib/editor/popups/fullscreen.php @@ -136,10 +136,10 @@ function init() { // 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 }