Ticket #6327: 6327.patch
File 6327.patch, 1.1 KB (added by , 13 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
610 610 // clicking outside actual content, manually apply the focus. (#1659) 611 611 if ( CKEDITOR.env.ie 612 612 && domDocument.$.compatMode == 'CSS1Compat' 613 || CKEDITOR.env.gecko614 613 || CKEDITOR.env.opera ) 615 614 { 616 615 var htmlElement = domDocument.getDocumentElement(); … … 620 619 // have to use here a temporary element to 'redirect' 621 620 // the focus. 622 621 if ( evt.data.getTarget().equals( htmlElement ) ) 623 {624 if ( CKEDITOR.env.gecko && CKEDITOR.env.version >= 10900 )625 blinkCursor();626 622 focusGrabber.focus(); 627 }628 623 } ); 629 624 } 630 625 … … 1026 1021 } 1027 1022 1028 1023 // Create an invisible element to grab focus. 1029 if ( CKEDITOR.env. gecko || CKEDITOR.env.ie || CKEDITOR.env.opera )1024 if ( CKEDITOR.env.ie || CKEDITOR.env.opera ) 1030 1025 { 1031 1026 var focusGrabber; 1032 1027 editor.on( 'uiReady', function()