Bug 1035400 - Fix "restart to update" button. r=felipe

This commit is contained in:
Hector Zhao 2015-01-14 17:39:01 +08:00
parent e13550e232
commit 4a01eec575
2 changed files with 3 additions and 3 deletions

View File

@ -490,7 +490,7 @@ appUpdater.prototype =
return;
}
this.selectPanel("apply");
this.selectPanel("applyBillboard");
},
/**

View File

@ -3023,8 +3023,8 @@ UpdateService.prototype = {
let bs = Cc["@mozilla.org/extensions/blocklist;1"].
getService(Ci.nsIBlocklistService);
if (bs.isAddonBlocklisted(addon,
gUpdates.update.appVersion,
gUpdates.update.platformVersion))
this._update.appVersion,
this._update.platformVersion))
return;
// Compatibility or new version updates mean the same thing here.