Bug 814630 - Thunderbird 17.0 closes all windows if multiple are opened. r=mconley
authorRichard Marti <richard.marti@gmail.com>
Mon, 26 Nov 2012 18:26:31 +0100
changeset 11623 7a9edeb46df525ddcf93cb276f1a7ae7dca7e589
parent 11622 6d781d7536e00c83db5c0ec1490d6ffa8c8a0756
child 11624 e4e578dc3b4512c1937228b9eb5e7d9a3a4ac112
push id8660
push userbugzilla@standard8.plus.com
push dateWed, 28 Nov 2012 15:00:38 +0000
treeherdercomm-central@7a9edeb46df5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs814630
Bug 814630 - Thunderbird 17.0 closes all windows if multiple are opened. r=mconley
mail/base/content/messenger.xul
--- a/mail/base/content/messenger.xul
+++ b/mail/base/content/messenger.xul
@@ -252,17 +252,17 @@
 #ifdef CAN_DRAW_IN_TITLEBAR
 <vbox id="titlebar">
   <hbox id="titlebar-content">
     <spacer id="titlebar-spacer" flex="1"/>
     <hbox id="titlebar-buttonbox-container" align="start">
       <hbox id="titlebar-buttonbox">
         <toolbarbutton class="titlebar-button" id="titlebar-min" oncommand="window.minimize();"/>
         <toolbarbutton class="titlebar-button" id="titlebar-max" oncommand="onTitlebarMaxClick();"/>
-        <toolbarbutton class="titlebar-button" id="titlebar-close" command="cmd_quit"/>
+        <toolbarbutton class="titlebar-button" id="titlebar-close" oncommand="window.close()"/>
       </hbox>
     </hbox>
   </hbox>
 </vbox>
 #endif
 
   <!-- navigation-toolbox is augmented by mailWindowOverlay.xul -->
   <toolbox id="navigation-toolbox" class="toolbox-top">