Bug 1078309: use a different database for each Fx Account. r=abr,paolo
This commit is contained in:
@@ -625,7 +625,9 @@ loop.panel = (function(_, mozL10n) {
|
||||
|
||||
_onStatusChanged: function() {
|
||||
var profile = navigator.mozLoop.userProfile;
|
||||
if (profile != this.state.userProfile) {
|
||||
var currUid = this.state.userProfile ? this.state.userProfile.uid : null;
|
||||
var newUid = profile ? profile.uid : null;
|
||||
if (currUid != newUid) {
|
||||
// On profile change (login, logout), switch back to the default tab.
|
||||
this.selectTab("call");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user