Revision 1161
Added by Dietmar over 14 years ago
fckeditor.html | ||
---|---|---|
265 | 265 |
} |
266 | 266 |
} |
267 | 267 |
|
268 |
// Gecko browsers doesn't calculate well the IFRAME size so we must
|
|
268 |
// Gecko and Webkit browsers don't calculate well the IFRAME size so we must
|
|
269 | 269 |
// recalculate it every time the window size changes. |
270 |
if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )
|
|
270 |
if ( FCKBrowserInfo.IsGecko || FCKBrowserInfo.IsSafari )
|
|
271 | 271 |
{ |
272 | 272 |
window.onresize = function( e ) |
273 | 273 |
{ |
274 |
// Running in Chrome makes the window receive the event including subframes.
|
|
274 |
// Running in Firefox's chrome makes the window receive the event including subframes.
|
|
275 | 275 |
// we care only about this window. Ticket #1642. |
276 | 276 |
// #2002: The originalTarget from the event can be the current document, the window, or the editing area. |
277 |
if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document )) |
|
277 |
if ( e && e.originalTarget && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))
|
|
278 | 278 |
return ; |
279 | 279 |
|
280 | 280 |
var oCell = document.getElementById( 'xEditingArea' ) ; |
Also available in: Unified diff
new update FCKeditor to Version 2.6.5 Modulversion 2.9.1