Bug 1565840 - fix access to notification box for 'Ignore (Sub)Thread'. r+a=jorgk BETA_68_CONTINUATION
authoralta88@fixall.com
Mon, 15 Jul 2019 11:47:10 +0200
branchBETA_68_CONTINUATION
changeset 36085 3820464b6b6978ce7e8f49e8dc6d545918ab5e21
parent 36084 1cae59747a9a62a7bb9609cea72357b06057e821
child 36086 3d0023b8ba2cfd83d221a0270fabd0389dda14ff
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
bugs1565840
Bug 1565840 - fix access to notification box for 'Ignore (Sub)Thread'. r+a=jorgk
mail/base/content/mail3PaneWindowCommands.js
--- a/mail/base/content/mail3PaneWindowCommands.js
+++ b/mail/base/content/mail3PaneWindowCommands.js
@@ -695,28 +695,28 @@ var DefaultController = {
       case "cmd_deleteFolder":
         gFolderTreeController.deleteFolder();
         break;
       case "cmd_killThread":
         if (!gFolderDisplay.selectedMessageIsNews) {
           if (!gFolderDisplay.selectedMessageThreadIgnored) {
             ShowIgnoredMessageNotification(gFolderDisplay.selectedMessages, false);
           } else {
-            this.notificationbox.removeTransientNotifications();
+            FolderPaneController.notificationbox.removeTransientNotifications();
           }
         }
         // kill thread kills the thread and then does a next unread
         GoNextMessage(Ci.nsMsgNavigationType.toggleThreadKilled, true);
         break;
       case "cmd_killSubthread":
         if (!gFolderDisplay.selectedMessageIsNews) {
           if (!gFolderDisplay.selectedMessageSubthreadIgnored) {
             ShowIgnoredMessageNotification(gFolderDisplay.selectedMessages, true);
           } else {
-            this.notificationbox.removeTransientNotifications();
+            FolderPaneController.notificationbox.removeTransientNotifications();
           }
         }
         GoNextMessage(Ci.nsMsgNavigationType.toggleSubthreadKilled, true);
         break;
       case "cmd_watchThread":
         gFolderDisplay.doCommand(Ci.nsMsgViewCommandType.toggleThreadWatched);
         break;
       case "button_next":