зеркало из https://github.com/mozilla/gecko-dev.git
fix for #49251 - select the first account after an account has been deleted
r=putterman
This commit is contained in:
Родитель
b89555b48f
Коммит
be29150ea1
|
@ -247,7 +247,7 @@ function onDeleteAccount(event) {
|
||||||
currentServerId = currentPageId = null;
|
currentServerId = currentPageId = null;
|
||||||
|
|
||||||
accountManager.removeAccount(account);
|
accountManager.removeAccount(account);
|
||||||
selectFirstAccount();
|
selectServer(null);
|
||||||
}
|
}
|
||||||
catch (ex) {
|
catch (ex) {
|
||||||
dump("failure to delete account: " + ex + "\n");
|
dump("failure to delete account: " + ex + "\n");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче