зеркало из https://github.com/mozilla/pjs.git
oops, address a comment of Neil's about auto save of drafts, seamonkey fe changes, sr=mscott 16360
This commit is contained in:
Родитель
386bcfe32d
Коммит
bae90bd590
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче