Fix for bug 49953. The editor's global variable gComposerCommandManager has been replaced by gHTMLEditorCommandManager. R=bienvenu, A=leaf

This commit is contained in:
ducarroz%netscape.com 2000-08-23 18:20:40 +00:00
Родитель 3f9c77b63b
Коммит 8f026fb001
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -698,8 +698,8 @@ function ComposeStartup()
msgCompose.editor = window.editorShell; msgCompose.editor = window.editorShell;
//We need to unregister some of the editor commands to avoid conflict //We need to unregister some of the editor commands to avoid conflict
if (gComposerCommandManager) if (gHTMLEditorCommandManager)
gComposerCommandManager.unregisterCommand("cmd_preferences", nsPreferencesCommand); gHTMLEditorCommandManager.unregisterCommand("cmd_preferences", nsPreferencesCommand);
msgCompose.RegisterStateListener(stateListener); msgCompose.RegisterStateListener(stateListener);