Show
Ignore:
Timestamp:
2008-04-30 04:37:48 (7 months 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.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • 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        }