зеркало из https://github.com/mozilla/pjs.git
Check if HTML Source has been edited when loading into existing Composer window, b=98768, r=syd, sr=kin
This commit is contained in:
Родитель
e9db5a0380
Коммит
e56a410360
|
@ -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")
|
||||
|
|
Загрузка…
Ссылка в новой задаче