Ticket #2002: 2002.patch
File 2002.patch, 1.7 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
92 92 opened.</li> 93 93 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2024">#2024</a>] Fixed 94 94 JavaScript error in IE when the user tries to open dialogs in Source mode.</li> 95 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2002">#2002</a>] Fixed 96 the issue where the maximize editor button does not vertically expand the editing 97 area in Firefox.</li> 95 98 </ul> 96 99 <h3> 97 100 Version 2.6 Beta 1</h3> -
editor/fckeditor.html
340 340 window.onresize = function( e ) 341 341 { 342 342 // Running in Chrome makes the window receive the event including subframes. 343 // we care only about this window. Ticket #1642 344 if ( e && e.originalTarget !== document ) 343 // we care only about this window. Ticket #1642. 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 346 return ; 346 347 347 348 var oCell = document.getElementById( 'xEditingArea' ) ; … … 349 350 var eInnerElement = oCell.firstChild ; 350 351 if ( eInnerElement ) 351 352 { 352 eInnerElement.style.height = 0;353 eInnerElement.style.height = oCell.scrollHeight - 2;353 eInnerElement.style.height = '0px' ; 354 eInnerElement.style.height = ( oCell.scrollHeight - 2 ) + 'px' ; 354 355 } 355 356 } 356 357 }