зеркало из https://github.com/mozilla/pjs.git
Fix for standalone window regression caused by bug 330198 r=IanN sr=bienvenu
This commit is contained in:
Родитель
4af8140fbb
Коммит
359bc9c89f
|
@ -203,12 +203,6 @@ function CreateMailWindowGlobals()
|
|||
//Create datasources
|
||||
accountManagerDataSource = Components.classes[accountManagerDSContractID].getService();
|
||||
folderDataSource = Components.classes[folderDSContractID].getService();
|
||||
|
||||
accountCentralBox = document.getElementById("accountCentralBox");
|
||||
gSearchBox = document.getElementById("searchBox");
|
||||
if (gSearchBox)
|
||||
gSearchBox.collapsed = true;
|
||||
GetMessagePane().collapsed = true;
|
||||
}
|
||||
|
||||
function InitMsgWindow()
|
||||
|
|
|
@ -754,6 +754,10 @@ function NotifyObservers(aSubject, aTopic, aData)
|
|||
|
||||
function Create3PaneGlobals()
|
||||
{
|
||||
accountCentralBox = document.getElementById("accountCentralBox");
|
||||
gSearchBox = document.getElementById("searchBox");
|
||||
gSearchBox.collapsed = true;
|
||||
GetMessagePane().collapsed = true;
|
||||
}
|
||||
|
||||
// because the "open" state persists, we'll call
|
||||
|
|
Загрузка…
Ссылка в новой задаче