Finish HTML source mode before loading a new document (forgot 2nd part of fix), b=102684, r=brade, sr=kin

This commit is contained in:
cmanske%netscape.com 2001-10-19 21:42:43 +00:00
parent b2286b44e6
commit 82a8637730

View File

@ -1433,6 +1433,9 @@ function EditorOpenUrl(url)
{
if (PageIsEmptyAndUntouched())
{
if (IsInHTMLSourceMode())
FinishHTMLSource();
window.editorShell.LoadUrl(url);
}
else