Bug #234707 --> fixes a regression where account central is only 100px tall.

This commit is contained in:
scott%scott-macgregor.org 2004-02-20 01:21:20 +00:00
Родитель dc4f814149
Коммит 38eb45fe2b
1 изменённых файлов: 11 добавлений и 4 удалений

Просмотреть файл

@ -489,17 +489,22 @@ function ShowAccountCentral()
{
try
{
var acctCentralPage = pref.getComplexValue("mailnews.account_central_page.url",
var acctCentralPage = pref.getComplexValue("mailnews.account_central_page.url",
Components.interfaces.nsIPrefLocalizedString).data;
GetMessagePane().collapsed = true;
document.getElementById("threadpane-splitter").collapsed = true;
gSearchBox.collapsed = true;
GetThreadTree().collapsed = true;
document.getElementById('messengerBox').setAttribute('flex', '1');
document.getElementById("accountCentralBox").collapsed = false;
window.frames["accountCentralPane"].location = acctCentralPage;
window.frames["accountCentralPane"].location = acctCentralPage;
if (!IsFolderPaneCollapsed())
GetFolderTree().focus();
gAccountCentralLoaded = true;
GetFolderTree().focus();
gAccountCentralLoaded = true;
}
catch (ex)
{
@ -519,9 +524,11 @@ function HideAccountCentral()
document.getElementById("accountCentralBox").collapsed = true;
GetThreadTree().collapsed = false;
gSearchBox.collapsed = false;
var threadPaneSplitter = document.getElementById("threadpane-splitter");
threadPaneSplitter.collapsed = false;
GetMessagePane().collapsed = threadPaneSplitter.getAttribute("state") == "collapsed";
document.getElementById('messengerBox').removeAttribute('flex');
gAccountCentralLoaded = false;
}
catch (ex)