mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 969656 - "Sign in again" menu panel UI should link directly to the sign-in page, rather than preferences r=gavin
This commit is contained in:
parent
16f473216d
commit
5435ba79a0
@ -195,8 +195,12 @@ let gFxAccounts = {
|
||||
},
|
||||
|
||||
onMenuPanelCommand: function (event) {
|
||||
if (event.originalTarget.hasAttribute("signedin")) {
|
||||
let button = event.originalTarget;
|
||||
|
||||
if (button.hasAttribute("signedin")) {
|
||||
this.openPreferences();
|
||||
} else if (button.hasAttribute("failed")) {
|
||||
this.openSignInAgainPage();
|
||||
} else {
|
||||
this.openAccountsPage();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user