Changeset 1945 for FCKeditor/trunk


Ignore:
Timestamp:
04/30/2008 04:37:48 AM (7 years ago)
Author:
martinkou
Message:

Fixed #2114 : Added a workaround for an IE6 bug which causes floating dialogs to appear blank after opening it for the first time.

Location:
FCKeditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_whatsnew.html

    r1944 r1945  
    5858                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2065">#2065</a>] Floating dialogs will now
    5959                        block the user from re-selecting the editing area by pressing Tab.</li>
     60                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2114">#2114</a>] Added a workaround for an
     61                        IE6 bug which causes floating dialogs to appear blank after opening it for the first time.</li>
    6062        </ul>
    6163        <h3>
  • FCKeditor/trunk/editor/fckdialog.html

    r1803 r1945  
    188188                {
    189189                        FCKTools.SetTimeout( originalRefreshSize, 1, retval ) ;
     190                }
     191        }
     192
     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 ) ;
    190203                }
    191204        }
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy