Bug 1621841 follow-up - Replace a popup notification I mistakenly removed. rs=bustage-fix DONTBUILD
authorGeoff Lankow <geoff@darktrojan.net>
Wed, 18 Mar 2020 16:00:15 +1300
changeset 38512 c038cdf6e638062d25c031864f4cf6fce1314116
parent 38511 c2f8d375f79c612fdf285eba5b05c786db10a990
child 38513 bf10ccae39d661d393d24e115721630c872ec9fe
push id400
push userclokep@gmail.com
push dateMon, 04 May 2020 18:56:09 +0000
reviewersbustage-fix
bugs1621841
Bug 1621841 follow-up - Replace a popup notification I mistakenly removed. rs=bustage-fix DONTBUILD
mail/base/modules/ExtensionsUI.jsm
--- a/mail/base/modules/ExtensionsUI.jsm
+++ b/mail/base/modules/ExtensionsUI.jsm
@@ -774,16 +774,17 @@ var ExtensionsUI = {
       tabbrowser,
       strings,
       addon.iconURL,
       "sideload"
     ).then(async answer => {
       if (answer) {
         await addon.enable();
         this._updateNotifications();
+        this.showInstallNotification(tabbrowser.selectedBrowser, addon);
       }
       this.emit("sideload-response");
     });
   },
 
   showUpdate(browser, info) {
     AMTelemetry.recordInstallEvent(info.install, {
       step: "permissions_prompt",