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:
Tim Taubert 2014-02-11 15:38:48 +01:00
parent cc49ef6871
commit ed912ba1ab

View File

@ -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();
}