зеркало из https://github.com/mozilla/gecko-dev.git
fix for #94067. catch the js exception we get when there is no default account.
this happens the first time you use the account wizard on a new profile. r/sr=bienvenu
This commit is contained in:
Родитель
22b0513aa0
Коммит
a26ec78d01
|
@ -140,7 +140,14 @@ function onLoad() {
|
|||
else
|
||||
wizardManager.LoadPage("accounttype", false);
|
||||
|
||||
try {
|
||||
gDefaultAccount = accountm.defaultAccount;
|
||||
}
|
||||
catch (ex) {
|
||||
// no default account, this is expected the first time you launch mail
|
||||
// on a new profile
|
||||
gDefaultAccount = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче