зеркало из https://github.com/mozilla/pjs.git
Fix for bug 49953. The editor's global variable gComposerCommandManager has been replaced by gHTMLEditorCommandManager. R=bienvenu, A=leaf
This commit is contained in:
Родитель
3f9c77b63b
Коммит
8f026fb001
|
@ -698,8 +698,8 @@ function ComposeStartup()
|
|||
msgCompose.editor = window.editorShell;
|
||||
|
||||
//We need to unregister some of the editor commands to avoid conflict
|
||||
if (gComposerCommandManager)
|
||||
gComposerCommandManager.unregisterCommand("cmd_preferences", nsPreferencesCommand);
|
||||
if (gHTMLEditorCommandManager)
|
||||
gHTMLEditorCommandManager.unregisterCommand("cmd_preferences", nsPreferencesCommand);
|
||||
|
||||
msgCompose.RegisterStateListener(stateListener);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче