diff --git a/editor/ui/composer/content/editor.js b/editor/ui/composer/content/editor.js index 0935711364e..88c68b03192 100644 --- a/editor/ui/composer/content/editor.js +++ b/editor/ui/composer/content/editor.js @@ -834,14 +834,6 @@ function CheckAndSaveDocument(command, allowDontSave) // --------------------------- File menu --------------------------- -function EditorNewPlaintext() -{ - window.openDialog( "chrome://editor/content/TextEditorAppShell.xul", - "_blank", - "chrome,dialog=no,all", - "about:blank"); -} - // Check for changes to document and allow saving before closing // This is hooked up to the OS's window close widget (e.g., "X" for Windows) function EditorCanClose() diff --git a/editor/ui/composer/content/editor.xul b/editor/ui/composer/content/editor.xul index 57e4ea25ad3..840df269d06 100644 --- a/editor/ui/composer/content/editor.xul +++ b/editor/ui/composer/content/editor.xul @@ -79,7 +79,6 @@ persist="screenX screenY width height sizemode">