From bae90bd5905694075af6ac3d14b1345e9428749b Mon Sep 17 00:00:00 2001 From: "bienvenu%nventure.com" Date: Wed, 19 Jan 2005 16:36:22 +0000 Subject: [PATCH] oops, address a comment of Neil's about auto save of drafts, seamonkey fe changes, sr=mscott 16360 --- mailnews/compose/resources/content/MsgComposeCommands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mailnews/compose/resources/content/MsgComposeCommands.js b/mailnews/compose/resources/content/MsgComposeCommands.js index a77949f4bd4..6728360fd62 100644 --- a/mailnews/compose/resources/content/MsgComposeCommands.js +++ b/mailnews/compose/resources/content/MsgComposeCommands.js @@ -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); }