Ticket #1336: 1336.patch

File 1336.patch, 1.6 KB (added by alfonsoml, 2 years ago)

Patch including what's new entry

  • _whatsnew.html

     
    6464                        was not loading on an specific unknown situation. The breaking point has been removed.</li> 
    6565                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1707">#1707</a>] The editor 
    6666                        no longer hangs when operating on documents imported from Microsoft Word.</li> 
     67                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1336">#1336</a>] Sometimes 
     68                        the autogrow plugin didn't work properly in Firefox.</li> 
    6769        </ul> 
    6870        <p> 
    6971                <a href="_whatsnew_history.html">See previous versions history</a> 
  • editor/plugins/autogrow/fckplugin.js

     
    6363                        return ; 
    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} 
    6875 
     
    8996                FCKAutoGrow_Check() ; 
    9097} 
    9198 
    92 FCK.Events.AttachEvent( 'OnStatusChange', FCKAutoGrow_CheckEditorStatus ) ; 
    93  No newline at end of file 
     99FCK.Events.AttachEvent( 'OnStatusChange', FCKAutoGrow_CheckEditorStatus ) ;