From cefff4ef471c33efa259a06ed8b194b7b5ac6470 Mon Sep 17 00:00:00 2001 From: "bugzilla%standard8.plus.com" Date: Tue, 28 Aug 2007 16:05:25 +0000 Subject: [PATCH] Part of Bug 381343 - move the composer debug options to the debugQA extension r=KaiRo,sr=Neil --- editor/ui/composer/content/editor.js | 8 - editor/ui/composer/content/editor.xul | 5 - editor/ui/composer/content/editorOverlay.xul | 73 --------- editor/ui/jar.mn | 4 - .../locales/en-US/chrome/composer/editor.dtd | 1 - .../en-US/chrome/composer/editorOverlay.dtd | 22 --- suite/debugQA/content/debugQAEditorOverlay.js | 7 + .../debugQA/content/debugQAEditorOverlay.xul | 142 ++++++++++++++++++ suite/debugQA/content/debugQAMenuOverlay.xul | 2 +- .../content/debugQATextEditorShell.xul | 15 +- suite/debugQA/jar.mn | 6 + .../locales/en-US/debugQAEditorOverlay.dtd | 24 +++ suite/debugQA/locales/jar.mn | 1 + 13 files changed, 189 insertions(+), 121 deletions(-) create mode 100644 suite/debugQA/content/debugQAEditorOverlay.xul create mode 100644 suite/debugQA/locales/en-US/debugQAEditorOverlay.dtd 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">