Ticket #2002: 2002_2.patch

File 2002_2.patch, 809 bytes (added by Alfonso Martínez de Lizarrondo, 14 years ago)

Additional modification

  • editor/fckeditor.html

     
    342342                // Running in Chrome makes the window receive the event including subframes.
    343343                // we care only about this window. Ticket #1642.
    344344                // #2002: The originalTarget from the event can be the current document, the window, or the editing area.
    345                 if ( e && e.originalTarget !== document && e.originalTarget !== window && e.originalTarget.ownerDocument != document )
     345                if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))
    346346                        return ;
    347347
    348348                var oCell = document.getElementById( 'xEditingArea' ) ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy