don't autosave when send or save already in progress, sr=mscott 307028
git-svn-id: svn://10.0.0.236/trunk@180202 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3513,7 +3513,8 @@ function loadHTMLMsgPrefs()
|
||||
|
||||
function AutoSave()
|
||||
{
|
||||
if (gMsgCompose.editor && (gContentChanged || gMsgCompose.bodyModified))
|
||||
if (gMsgCompose.editor && (gContentChanged || gMsgCompose.bodyModified)
|
||||
&& !gSendOrSaveOperationInProgress)
|
||||
GenericSendMessage(nsIMsgCompDeliverMode.AutoSaveAsDraft);
|
||||
|
||||
gAutoSaveTimeout = setTimeout(AutoSave, gAutoSaveInterval);
|
||||
|
||||
Reference in New Issue
Block a user