Ticket #2002: 2002_2.patch
File 2002_2.patch, 809 bytes (added by , 17 years ago) |
---|
-
editor/fckeditor.html
342 342 // Running in Chrome makes the window receive the event including subframes. 343 343 // we care only about this window. Ticket #1642. 344 344 // #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 )) 346 346 return ; 347 347 348 348 var oCell = document.getElementById( 'xEditingArea' ) ;