Bug 306076. Some menu items grayed out in mail message compose when they shouldn't be. r=bienvenu, sr=neil
git-svn-id: svn://10.0.0.236/trunk@179562 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9e061fa2e0
commit
b2722647f1
@ -1446,6 +1446,10 @@ var gMsgEditorCreationObserver =
|
||||
editorStyle.addStyleSheet("chrome://messenger/skin/messageQuotes.css");
|
||||
InitEditor();
|
||||
}
|
||||
// Now that we know this document is an editor, ensure
|
||||
// that CommandUpdate_MsgCompose() will update commands
|
||||
// next time the editable document receives focus
|
||||
gLastWindowToHaveFocus = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1425,6 +1425,10 @@ var gMsgEditorCreationObserver =
|
||||
var editor = GetCurrentEditor();
|
||||
if (editor && GetCurrentCommandManager() == aSubject)
|
||||
InitEditor(editor);
|
||||
// Now that we know this document is an editor, ensure
|
||||
// that CommandUpdate_MsgCompose() will update commands
|
||||
// next time the editable document receives focus
|
||||
gLastWindowToHaveFocus = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user