Bug 728309 - Re-enable mail toolbar in message tab and Gloda search results list. r=dbienvenu,ui-r=bwinton,a=Standard8.
authorMike Conley <mconley@mozilla.com>
Tue, 21 Feb 2012 21:55:14 -0500
changeset 10199 5b08357336fb99dba4e07ed494aabf973ba1bb56
parent 10198 52d70cf70e062ba69ca24c0207c11d664401bb61
child 10200 b23b75bf76e85cb25d931b5bb9347b6e3eae6338
push idunknown
push userunknown
push dateunknown
reviewersdbienvenu, bwinton, Standard8
bugs728309
Bug 728309 - Re-enable mail toolbar in message tab and Gloda search results list. r=dbienvenu,ui-r=bwinton,a=Standard8.
mail/base/content/mailTabs.js
--- a/mail/base/content/mailTabs.js
+++ b/mail/base/content/mailTabs.js
@@ -689,19 +689,16 @@ let mailTabType = {
     // -- thread pane status bar helpers
     document.getElementById("unreadMessageCount").hidden = !aLegalStates.thread;
     document.getElementById("totalMessageCount").hidden = !aLegalStates.thread;
 
     // -- message pane
     document.getElementById("messagepaneboxwrapper").collapsed =
       !aLegalStates.message || !aVisibleStates.message;
 
-    // -- mail toolbox (collapsed mail-bar3 and any custom toolbars)
-    document.getElementById("mail-toolbox").collapsed = !displayDeckLegal;
-
     // we are responsible for updating the keybinding; view_init takes care of
     //  updating the menu item (on demand)
     let messagePaneToggleKey = document.getElementById("key_toggleMessagePane");
     if (aLegalStates.thread)
       messagePaneToggleKey.removeAttribute("disabled");
     else
       messagePaneToggleKey.setAttribute("disabled", "true");
   },