mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
oops, address a comment of Neil's about auto save of drafts, seamonkey fe changes, sr=mscott 16360
This commit is contained in:
parent
5cd1d0495e
commit
9df3f95d53
@ -1383,7 +1383,7 @@ function ComposeStartup(recycled, aParams)
|
||||
: 0;
|
||||
|
||||
if (gAutoSaveInterval)
|
||||
gAutoSaveTimeout = setTimeout("AutoSave()", gAutoSaveInterval);
|
||||
gAutoSaveTimeout = setTimeout(AutoSave, gAutoSaveInterval);
|
||||
}
|
||||
|
||||
// The new, nice, simple way of getting notified when a new editor has been created
|
||||
@ -3039,6 +3039,6 @@ function AutoSave()
|
||||
if (gMsgCompose.editor && (gContentChanged || gMsgCompose.bodyModified))
|
||||
GenericSendMessage(nsIMsgCompDeliverMode.AutoSaveAsDraft);
|
||||
|
||||
gAutoSaveTimeout = setTimeout("AutoSave()", gAutoSaveInterval);
|
||||
gAutoSaveTimeout = setTimeout(AutoSave, gAutoSaveInterval);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user