fix 51432. r=cata

git-svn-id: svn://10.0.0.236/trunk@78564 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ftang%netscape.com 2000-09-09 01:24:30 +00:00
parent 08d32fdd8b
commit ae8fb9b757

View File

@ -467,8 +467,7 @@ function EditorSetDocumentCharacterSet(aCharset)
if(editorShell)
{
editorShell.SetDocumentCharacterSet(aCharset);
if((! editorShell.documentModified) &&
editorShell.editorDocument.location != "about:blank")
if( editorShell.editorDocument.location != "about:blank")
{
editorShell.LoadUrl(editorShell.editorDocument.location);
}