Changeset 1451

Show
Ignore:
Timestamp:
2008-01-29 22:32:29 (5 months ago)
Author:
alfonsoml
Message:

Apply patch from Matthias Miller to fix a flicker bug in the autogrow plugin #1336

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/plugins/autogrow/fckplugin.js

    r132 r1451  
    6464 
    6565                window.frameElement.height = iMainFrameSize ; 
     66 
     67                // Gecko browsers use an onresize handler to update the innermost 
     68                // IFRAME's height. If the document is modified before the onresize 
     69                // is triggered, the plugin will miscalculate the new height. Thus, 
     70                // forcibly trigger onresize. #1336 
     71                if ( typeof window.onresize == 'function' ) 
     72                        window.onresize() ; 
    6673        } 
    6774} 
  • FCKeditor/trunk/_whatsnew.html

    r1449 r1451  
    7070                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1715">#1715</a>] The ShowDropDialog 
    7171                        is now enforced only when ForcePasteAsPlainText = true.</li> 
     72                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1336">#1336</a>] Sometimes 
     73                        the autogrow plugin didn't work properly in Firefox.</li> 
    7274        </ul> 
    7375        <p>