Fix for 5.0 SF1in bug 299978: html compose fails: can't save file:///Untitled
Ignore autosave code in fe_EditorCleanup() if the context is for a MWContextMessageComposition. Reviewed by akkana. git-svn-id: svn://10.0.0.236/trunk@5456 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
fbf09cf662
commit
b2dec3ba0c
@ -932,7 +932,8 @@ fe_EditorCleanup(MWContext* context)
|
||||
* If they have autosave on, try to do a save. Don't do it
|
||||
* for a new doc, as that'll mean dialogs, and .....
|
||||
*/
|
||||
if (!EDT_IS_NEW_DOCUMENT(context) &&
|
||||
if (context->type != MWContextMessageComposition &&
|
||||
!EDT_IS_NEW_DOCUMENT(context) &&
|
||||
(!EDT_IsBlocked(context) && EDT_DirtyFlag(context))) {
|
||||
fe_EditorPreferencesGetAutoSave(context, &as_enabled, &as_time);
|
||||
if (as_enabled)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user