Bug 814630 - Thunderbird 17.0 closes all windows if multiple are opened. r=mconley,a=Standard8
authorRichard Marti <richard.marti@gmail.com>
Mon, 26 Nov 2012 18:26:31 +0100
changeset 13581 b875147211e7734ce91503c5eaba1ed0ab3bb304
parent 13580 d177ab5d0482eb42cdfc18a5581dcd734175c3d3
child 13582 3edc5ae88ef79a71cf69098b26ba924bfdd2de7e
push id14
push userbugzilla@standard8.plus.com
push dateWed, 28 Nov 2012 15:21:33 +0000
reviewersmconley, Standard8
bugs814630
Bug 814630 - Thunderbird 17.0 closes all windows if multiple are opened. r=mconley,a=Standard8
mail/base/content/messenger.xul
--- a/mail/base/content/messenger.xul
+++ b/mail/base/content/messenger.xul
@@ -255,17 +255,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">