oops, address a comment of Neil's about auto save of drafts, seamonkey fe changes, sr=mscott 16360

This commit is contained in:
bienvenu%nventure.com 2005-01-19 16:36:22 +00:00
parent 5cd1d0495e
commit 9df3f95d53

View File

@ -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);
}