diff --git a/mozilla/editor/ui/composer/content/editor.js b/mozilla/editor/ui/composer/content/editor.js index 14b57467f55..1d1e0a60fc7 100644 --- a/mozilla/editor/ui/composer/content/editor.js +++ b/mozilla/editor/ui/composer/content/editor.js @@ -378,14 +378,6 @@ var gEditorDocumentObserver = // Things for just the Web Composer application if (IsWebComposer()) { - // Get the window command controller created in SetupComposerWindowCommands() - if (gComposerWindowControllerID) - { - try { - var controller = window.controllers.getControllerById(gComposerWindowControllerID); - controller.setCommandRefCon(editor); - } catch (e) {} - } // Call EditorSetDefaultPrefsAndDoctype first so it gets the default author before initing toolbars EditorSetDefaultPrefsAndDoctype();