зеркало из https://github.com/mozilla/pjs.git
Changed InitHTMLEditor to Init and removed EnableUndo, which is done in the Init
This commit is contained in:
Родитель
6ee115084c
Коммит
50e79f8c24
|
@ -105,9 +105,6 @@ nsresult NS_InitEditorMode(nsIDOMDocument *aDOMDocument, nsIPresShell* aPresShel
|
|||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
gEditor->InitHTMLEditor(aDOMDocument, aPresShell);
|
||||
gEditor->EnableUndo(PR_TRUE);
|
||||
|
||||
return result;
|
||||
return gEditor->Init(aDOMDocument, aPresShell);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче