mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
cc49ef6871
commit
ed912ba1ab
@ -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