mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
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:
parent
b2286b44e6
commit
82a8637730
@ -1433,6 +1433,9 @@ function EditorOpenUrl(url)
|
||||
{
|
||||
if (PageIsEmptyAndUntouched())
|
||||
{
|
||||
if (IsInHTMLSourceMode())
|
||||
FinishHTMLSource();
|
||||
|
||||
window.editorShell.LoadUrl(url);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user