Ticket #2114: 2114.patch

File 2114.patch, 1.7 KB (added by Martin Kou, 17 years ago)
  • _whatsnew.html

     
    5151                        which stopped working in FCKeditor 2.6.</li>
    5252                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2039">#2039</a>] Fixed the locking up issue
    5353                        in the Find/Replace dialog.</li>
     54                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2114">#2114</a>] Added a workaround for an
     55                        IE6 bug which causes floating dialogs to appear blank after opening it for the first time.</li>
    5456        </ul>
    5557        <h3>
    5658                Version 2.6</h3>
  • editor/fckdialog.html

     
    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    22<!--
    33 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
    44 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
     
    190190                }
    191191        }
    192192
     193        /**
     194         * IE6 has a similar bug where it sometimes thinks $('contents') has an
     195         * offsetHeight of 0 (#2114).
     196         */
     197        if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 )
     198        {
     199                var originalRefreshContainerSize = retval.RefreshContainerSize ;
     200                retval.RefreshContainerSize = function()
     201                {
     202                        FCKTools.SetTimeout( originalRefreshContainerSize, 1, retval ) ;
     203                }
     204        }
     205
    193206        window.onresize = function()
    194207        {
    195208                retval.RefreshContainerSize() ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy