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
Родитель 5cd1d0495e
Коммит 9df3f95d53
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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