Bug 1082428 - the Sync toolbar button now opens Sync prefs if the user needs to re-authenticate. r=eoger

This commit is contained in:
Mark Hammond 2015-09-04 11:28:13 +10:00
parent 1e3a3a0f76
commit 64ebd224c4

View File

@ -248,7 +248,7 @@ let gSyncUI = {
},
handleToolbarButton: function SUI_handleStatusbarButton() {
if (this._needsSetup())
if (this._needsSetup() || this._loginFailed())
this.openSetup();
else
this.doSync();