mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
don't autosave when send or save already in progress, sr=mscott 307028
This commit is contained in:
parent
7dd94fccba
commit
583d264b30
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user