Bug 1052396 - Error after creating profile (while there are still no accounts): "Error in setting AccountCentral Items: TypeError: server is null". r=mkmelin
--HG-- extra : histedit_source : 88a9109ffad029990c75030fe41ce92c910fff77
This commit is contained in:
Родитель
684c7e5f60
Коммит
abc7f5ba55
|
@ -35,6 +35,8 @@ function OnInit()
|
|||
|
||||
// Get the account name
|
||||
msgFolder = GetSelectedMsgFolder();
|
||||
ArrangeAccountCentralItems(selectedServer, msgFolder);
|
||||
|
||||
let acctName = msgFolder.prettyName;
|
||||
// Display and collapse items presented to the user based on account type
|
||||
title = messengerBundle.getFormattedString("acctCentralTitleFormat",
|
||||
|
@ -45,8 +47,6 @@ function OnInit()
|
|||
|
||||
// Set the title for the document
|
||||
document.getElementById("AccountCentralTitle").setAttribute("value", title);
|
||||
|
||||
ArrangeAccountCentralItems(selectedServer, msgFolder);
|
||||
}
|
||||
catch(ex) {
|
||||
Components.utils.reportError("Error getting selected account: " + ex + "\n");
|
||||
|
|
Загрузка…
Ссылка в новой задаче