Bug 535103 - Thunderbird does not (offer to) remember authenticated proxy password. r+a=Standard8
authorIrving Reid <irving@mozilla.com>
Tue, 15 Nov 2011 17:13:33 -0500
changeset 9376 29a8084267719894e5eac7be978f935d217db2a7
parent 9369 2e6dd05b60dc26dae79881fcdf8b9ccc729f54fa
child 9377 08f96e424cd6b1b46052f1ef2b5086397fb893d8
push idunknown
push userunknown
push dateunknown
bugs535103
Bug 535103 - Thunderbird does not (offer to) remember authenticated proxy password. r+a=Standard8
mail/base/content/mailWindow.js
--- a/mail/base/content/mailWindow.js
+++ b/mail/base/content/mailWindow.js
@@ -509,17 +509,17 @@ function getNotificationBox(aWindow) {
   var tabmail = document.getElementById("tabmail");
   var tabInfo = tabmail.tabInfo;
 
   for (var i = 0; i < tabInfo.length; ++i) {
     var browserFunc = tabInfo[i].mode.getBrowser ||
                       tabInfo[i].mode.tabType.getBrowser;
     if (browserFunc) {
       var possBrowser = browserFunc.call(tabInfo[i].mode.tabType, tabInfo[i]);
-      if (possBrowser && possBrowser.contentWindow == aWindow)
+      if (possBrowser && possBrowser.contentWindow == aWindow && possBrowser.parentNode.tagName == "notificationbox")
         return possBrowser.parentNode;
     }
   }
   return null;
 }
 
 // Given the server, open the twisty and the set the selection
 // on inbox of that server.