Ticket #2923: 2923_3.patch

File 2923_3.patch, 648 bytes (added by Frederico Caldeira Knabben, 15 years ago)
  • _source/core/dom/domobject.js

     
    5050        {
    5151                return function( domEvent )
    5252                {
    53                         domObject.fire( eventName, new CKEDITOR.dom.event( domEvent ) );
     53                        // In FF, when reloading the page with the editor focused, it may
     54                        // throw an error because the CKEDITOR global is not anymore
     55                        // available. So, we check it here first. (#2923)
     56                        if ( window.CKEDITOR )
     57                                domObject.fire( eventName, new CKEDITOR.dom.event( domEvent ) );
    5458                };
    5559        };
    5660
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy