From 2e3787341ebc57612874cbbf384dce46fa2338fe Mon Sep 17 00:00:00 2001 From: "brade%netscape.com" Date: Wed, 27 Mar 2002 01:28:14 +0000 Subject: [PATCH] call editPage instead of deprecated EditorOpenUrl (bug 104908, r=cmanske, sr=kin, a=dbaron) --- editor/ui/composer/content/ComposerCommands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/ui/composer/content/ComposerCommands.js b/editor/ui/composer/content/ComposerCommands.js index 1a6403f81fb..d368cc9cf1f 100644 --- a/editor/ui/composer/content/ComposerCommands.js +++ b/editor/ui/composer/content/ComposerCommands.js @@ -327,7 +327,7 @@ var nsOpenCommand = */ if (fp.file && fp.file.path.length > 0) { SaveFilePickerDirectory(fp, "html"); - EditorOpenUrl(fp.fileURL.spec); + editPage(fp.fileURL.spec, window, false); } } }; @@ -2379,7 +2379,7 @@ var nsEditLinkCommand = { var element = window.editorShell.GetSelectedElement("href"); if (element) - EditorOpenUrl(element.href); + editPage(element.href, window, false); window._content.focus(); }