Ticket #3053: 3053_2.patch
File 3053_2.patch, 3.0 KB (added by , 15 years ago) |
---|
-
_whatsnew.html
90 90 error when trying to create link for images inside floating div containers.</li> 91 91 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/3925">#3925</a>] Removed obsolete 92 92 parentWindow reference from FCKDialog.OpenDialog().</li> 93 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/3053">#3053</a>] Fixed problems with 94 the height of the content area in Safari and Chrome.</li> 93 95 </ul> 94 96 <p> 95 97 <a href="_whatsnew_history.html">See previous versions history</a></p> -
editor/_source/internals/fck.js
494 494 FCK.Events.FireEvent( 'OnAfterSetHTML' ) ; 495 495 } 496 496 497 if ( FCKBrowserInfo.IsGecko)497 if ( window.onresize ) 498 498 window.onresize() ; 499 499 }, 500 500 -
editor/_source/internals/fcktoolbarset.js
239 239 this._Document.getElementById( 'xCollapsed' ).style.display = collapse ? '' : 'none' ; 240 240 this._Document.getElementById( 'xExpanded' ).style.display = collapse ? 'none' : '' ; 241 241 242 if ( FCKBrowserInfo.IsGecko)242 if ( window.onresize ) 243 243 { 244 244 // I had to use "setTimeout" because Gecko was not responding in a right 245 245 // way when calling window.onresize() directly. -
editor/fckeditor.html
372 372 } 373 373 } 374 374 375 // Gecko browsers doesn't calculate well the IFRAME size so we must375 // Gecko and Webkit browsers don't calculate well the IFRAME size so we must 376 376 // recalculate it every time the window size changes. 377 if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera)377 if ( FCKBrowserInfo.IsGecko || FCKBrowserInfo.IsSafari ) 378 378 { 379 379 window.onresize = function( e ) 380 380 { 381 // Running in Chrome makes the window receive the event including subframes.381 // Running in Firefox's chrome makes the window receive the event including subframes. 382 382 // we care only about this window. Ticket #1642. 383 383 // #2002: The originalTarget from the event can be the current document, the window, or the editing area. 384 if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))384 if ( e && e.originalTarget && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document )) 385 385 return ; 386 386 387 387 var oCell = document.getElementById( 'xEditingArea' ) ;