From a8e09c3c6884f72bebd73787f426f72e3cc9084e Mon Sep 17 00:00:00 2001 From: "cavin%netscape.com" Date: Mon, 24 Jun 2002 22:20:10 +0000 Subject: [PATCH] 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 --- .../resources/content/msgMail3PaneWindow.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/mozilla/mailnews/base/resources/content/msgMail3PaneWindow.js b/mozilla/mailnews/base/resources/content/msgMail3PaneWindow.js index 69a3e8ad9da..59c5548b178 100644 --- a/mozilla/mailnews/base/resources/content/msgMail3PaneWindow.js +++ b/mozilla/mailnews/base/resources/content/msgMail3PaneWindow.js @@ -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");