Bug 852334 - Set app disabled state on enable button instead of uninstall button. r=mbrubeck

This commit is contained in:
Margaret Leibovic 2013-03-19 08:14:25 -07:00
parent 854f1e6802
commit e636debd22

View File

@ -304,7 +304,7 @@ var Addons = {
detailItem.querySelector(".status-uninstalled").textContent =
gStringBundle.formatStringFromName("addonStatus.uninstalled", [addon.name], 1);
let enableBtn = document.getElementById("uninstall-btn");
let enableBtn = document.getElementById("enable-btn");
if (addon.appDisabled)
enableBtn.setAttribute("disabled", "true");
else