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 13968 cd2b74c3319a8f7ff8414341ad7ecd2eb8242b2c
parent 13967 05854645c419840feb290af4d779f16d49e67eaf
child 13969 a2deadc38a80d9c40c8cd9fe01849578863baccb
push id777
push userbugzilla@standard8.plus.com
push dateWed, 28 Nov 2012 15:21:09 +0000
treeherdercomm-beta@cd2b74c3319a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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">