Ticket #3053: 3053.patch

File 3053.patch, 2.6 KB (added by Alfonso Martínez de Lizarrondo, 15 years ago)

Proposed patch

  • _whatsnew.html

     
    9090                        error when trying to create link for images inside floating div containers.</li>
    9191                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/3925">#3925</a>] Removed obsolete
    9292                        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>
    9395        </ul>
    9496        <p>
    9597                <a href="_whatsnew_history.html">See previous versions history</a></p>
  • editor/_source/commandclasses/fckfitwindow.js

     
    192192                eTextarea.scrollLeft = oEditorScrollPos[0] ;
    193193                eTextarea.scrollTop = oEditorScrollPos[1] ;
    194194        }
     195
     196        if (window.onresize)
     197                window.onresize();
    195198}
    196199
    197200FCKFitWindow.prototype.GetState = function()
  • editor/_source/internals/fck.js

     
    494494                        FCK.Events.FireEvent( 'OnAfterSetHTML' ) ;
    495495                }
    496496
    497                 if ( FCKBrowserInfo.IsGecko )
     497                if ( window.onresize )
    498498                        window.onresize() ;
    499499        },
    500500
  • editor/_source/internals/fcktoolbarset.js

     
    239239        this._Document.getElementById( 'xCollapsed' ).style.display = collapse ? '' : 'none' ;
    240240        this._Document.getElementById( 'xExpanded' ).style.display = collapse ? 'none' : '' ;
    241241
    242         if ( FCKBrowserInfo.IsGecko )
     242        if ( window.onresize )
    243243        {
    244244                // I had to use "setTimeout" because Gecko was not responding in a right
    245245                // way when calling window.onresize() directly.
  • editor/fckeditor.html

     
    374374
    375375// Gecko browsers doesn't calculate well the IFRAME size so we must
    376376// recalculate it every time the window size changes.
    377 if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )
     377if ( FCKBrowserInfo.IsGecko || FCKBrowserInfo.IsSafari )
    378378{
    379379        window.onresize = function( e )
    380380        {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy