Index: FCKeditor/trunk/_whatsnew.html
===================================================================
--- FCKeditor/trunk/_whatsnew.html (revision 1944)
+++ FCKeditor/trunk/_whatsnew.html (revision 1945)
@@ -58,4 +58,6 @@
[#2065] Floating dialogs will now
block the user from re-selecting the editing area by pressing Tab.
+ [#2114] Added a workaround for an
+ IE6 bug which causes floating dialogs to appear blank after opening it for the first time.
Index: FCKeditor/trunk/editor/fckdialog.html
===================================================================
--- FCKeditor/trunk/editor/fckdialog.html (revision 1944)
+++ FCKeditor/trunk/editor/fckdialog.html (revision 1945)
@@ -188,4 +188,17 @@
{
FCKTools.SetTimeout( originalRefreshSize, 1, retval ) ;
+ }
+ }
+
+ /**
+ * IE6 has a similar bug where it sometimes thinks $('contents') has an
+ * offsetHeight of 0 (#2114).
+ */
+ if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 )
+ {
+ var originalRefreshContainerSize = retval.RefreshContainerSize ;
+ retval.RefreshContainerSize = function()
+ {
+ FCKTools.SetTimeout( originalRefreshContainerSize, 1, retval ) ;
}
}