Check if HTML Source has been edited when loading into existing Composer window, b=98768, r=syd, sr=kin

This commit is contained in:
cmanske%netscape.com 2001-09-10 21:50:12 +00:00
Родитель e9db5a0380
Коммит e56a410360
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -117,7 +117,8 @@ function TextEditorOnLoad()
function PageIsEmptyAndUntouched()
{
return (editorShell != null) && (editorShell.documentIsEmpty == true) && (docWasModified == false);
return (editorShell != null) && editorShell.documentIsEmpty &&
!docWasModified && !gHTMLSourceChanged;
}
function IsEditorContentHTML()
@ -1681,7 +1682,6 @@ function InitListMenu()
var mixedObj = new Object();
var state = editorShell.GetListState(mixedObj);
var IDSuffix = "noList";
if (state)
{
if (state == "dl")