diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-12 01:34:17 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-12 01:34:17 +0200 |
commit | a69eda9b9c9e069d212aeefce0f6c85b0f88b9e7 (patch) | |
tree | 6579d8e72b6fba1836c846e5a0509fe385ca6ba3 /toolkit/mozapps/extensions/content/extensions.js | |
parent | f1b51be787c11090c8d9b2ec73255df7a67c7eb7 (diff) | |
download | UXP-a69eda9b9c9e069d212aeefce0f6c85b0f88b9e7.tar UXP-a69eda9b9c9e069d212aeefce0f6c85b0f88b9e7.tar.gz UXP-a69eda9b9c9e069d212aeefce0f6c85b0f88b9e7.tar.lz UXP-a69eda9b9c9e069d212aeefce0f6c85b0f88b9e7.tar.xz UXP-a69eda9b9c9e069d212aeefce0f6c85b0f88b9e7.zip |
Revert "Revert "Issue #1445 - Clarify the status of extensions in the Add-On manager""
This reverts commit d21b46fc9c9278bc0529fe8736d2c9e91dee75bc.
Diffstat (limited to 'toolkit/mozapps/extensions/content/extensions.js')
-rw-r--r-- | toolkit/mozapps/extensions/content/extensions.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/toolkit/mozapps/extensions/content/extensions.js b/toolkit/mozapps/extensions/content/extensions.js index 9576e9a3b..782fca303 100644 --- a/toolkit/mozapps/extensions/content/extensions.js +++ b/toolkit/mozapps/extensions/content/extensions.js @@ -3059,6 +3059,15 @@ var gDetailView = { warning.textContent = gStrings.ext.formatStringFromName("details.notification.gmpPending", [this._addon.name], 1); +#ifdef MOZ_PHOENIX_EXTENSIONS + } else if (this._addon.native == false) { + this.node.setAttribute("notification", "warning"); + this.node.setAttribute("native", "false"); + document.getElementById("detail-warning").textContent = gStrings.ext.formatStringFromName( + "details.notification.compatibility", + [this._addon.name, gStrings.brandShortName], 2 + ); +#endif } else { this.node.removeAttribute("notification"); } |