Fix for 153220. Back out the patch of bug 144141 (a dup of bug 123719). r=naving, sr=mscott.

git-svn-id: svn://10.0.0.236/trunk@123956 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cavin%netscape.com
2002-06-24 22:20:10 +00:00
parent 8f331d44a3
commit a8e09c3c68

View File

@@ -695,27 +695,8 @@ function UpgradeFolderPaneUI()
}
}
// This is a workaround fix for bug 144141 since it's too risky to change code
// to load the thread pane window with msgs when folder pane is collapsed/closed
// at startup (since this has never worked before). The workaround is to force
// folder pane open (with default width) at startup if it was collapsed.
function ForceFolderPaneOpen()
{
if (! sidebar_is_collapsed())
return false;
var sidebar_box = document.getElementById('sidebar-box');
var sidebar_splitter = document.getElementById('sidebar-splitter');
sidebar_box.removeAttribute('collapsed');
sidebar_box.removeAttribute('width'); // use default width
sidebar_splitter.removeAttribute('state');
return true;
}
function OnLoadFolderPane()
{
ForceFolderPaneOpen();
UpgradeFolderPaneUI();
var folderUnreadCol = document.getElementById("folderUnreadCol");