From 161567718acd9a9f9022d42373754e0c19953d4b Mon Sep 17 00:00:00 2001 From: "loadrunner%betak.net" Date: Fri, 10 Aug 2001 02:05:03 +0000 Subject: [PATCH] bug 56519, Selecting a Charset in Composer disables Charset menu, r=cmanske, sr=blizzard git-svn-id: svn://10.0.0.236/trunk@100721 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/ui/composer/content/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/editor/ui/composer/content/editor.js b/mozilla/editor/ui/composer/content/editor.js index b718f4e57ae..660530b28fd 100644 --- a/mozilla/editor/ui/composer/content/editor.js +++ b/mozilla/editor/ui/composer/content/editor.js @@ -509,7 +509,7 @@ function EditorSetDocumentCharacterSet(aCharset) // ------------------------------------------------------------------ function updateCharsetPopupMenu(menuPopup) { - if(editorShell.documentModified) + if(editorShell.documentModified && !editorShell.documentIsEmpty) { for (var i = 0; i < menuPopup.childNodes.length; i++) {