mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
Bug 852334 - Set app disabled state on enable button instead of uninstall button. r=mbrubeck
This commit is contained in:
parent
854f1e6802
commit
e636debd22
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user