зеркало из https://github.com/mozilla/gecko-dev.git
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.
This commit is contained in:
Родитель
414e173920
Коммит
34b1a3526c
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче