]> git.mjollnir.org Git - moodle.git/commitdiff
Fast fix on _closeOnEsc funtion (uncommenting funtion calls)
authorjulmis <julmis>
Sat, 22 May 2004 17:07:55 +0000 (17:07 +0000)
committerjulmis <julmis>
Sat, 22 May 2004 17:07:55 +0000 (17:07 +0000)
lib/editor/popups/fullscreen.php

index cc5d275efd72321709dce1f2f38beac9f5c34992..7755d9401b3e44c99222a57311dbf27f82f96766 100644 (file)
@@ -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
 }