From 18ffd9b907813f8a529f1cbc93e3d5a5839302f7 Mon Sep 17 00:00:00 2001 From: "cmanske%netscape.com" Date: Tue, 30 Apr 2002 23:30:29 +0000 Subject: [PATCH] Activate publish icon when typing in HTML source mode, b=140063, r=akkana, sr=kin --- editor/ui/composer/content/editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/ui/composer/content/editor.js b/editor/ui/composer/content/editor.js index 4ba7cac839d9..f6b8b700ca74 100644 --- a/editor/ui/composer/content/editor.js +++ b/editor/ui/composer/content/editor.js @@ -1524,8 +1524,9 @@ function oninputHTMLSource() { gHTMLSourceChanged = true; - // Trigger update of "Save" button + // Trigger update of "Save" and "Publish" buttons goUpdateCommand("cmd_save"); + goUpdateCommand("cmd_publish"); // We don't need to call this again, so remove handler gSourceContentWindow.removeEventListener("input", oninputHTMLSource, false);