Bug 698011 You can only "Don't Save" a message once r=Mnyromyr a=Callek.
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Sun, 06 Nov 2011 21:47:08 +0000
changeset 9348 9127c7406dcdfe16926705b02739cec7fd97c87e
parent 9347 97e4f01d55faff0562d5487d8a0a6bb4d7cd5797
child 9349 6e6c1c75d7b0359a2dd63e76bb1a6ce6ced4986c
push idunknown
push userunknown
push dateunknown
reviewersMnyromyr, Callek
bugs698011
Bug 698011 You can only "Don't Save" a message once r=Mnyromyr a=Callek.
suite/mailnews/compose/MsgComposeCommands.js
--- a/suite/mailnews/compose/MsgComposeCommands.js
+++ b/suite/mailnews/compose/MsgComposeCommands.js
@@ -2424,18 +2424,16 @@ function ComposeCanClose()
       case 1: //Cancel
         return false;
       case 2: //Don't Save
         // only delete the draft if we didn't start off editing a draft
         if (!gEditingDraft && gAutoSaveKickedIn)
           RemoveDraft();            
         break;
     }
-
-    SetContentAndBodyAsUnmodified();
   }
 
   return true;
 }
 
 function RemoveDraft()
 {
   try