One more followup change to the fix for bug 69070. Make sure to set the appType on the root docshell in editor.js.

This commit is contained in:
jst%mozilla.jstenback.com 2004-10-14 04:54:03 +00:00
Родитель 996f842851
Коммит 41b441f124
1 изменённых файлов: 5 добавлений и 1 удалений

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

@ -538,7 +538,11 @@ function SetFocusOnStartup()
function EditorStartup() function EditorStartup()
{ {
GetCurrentEditorElement().docShell.appType = var ds = GetCurrentEditorElement().docShell;
var root = ds.QueryInterface(Components.interfaces.nsIDocShellTreeItem).
rootTreeItem.QueryInterface(Components.interfaces.nsIDocShell);
root.QueryInterface(Components.interfaces.nsIDocShell).appType =
Components.interfaces.nsIDocShell.APP_TYPE_EDITOR; Components.interfaces.nsIDocShell.APP_TYPE_EDITOR;
var is_HTMLEditor = IsHTMLEditor(); var is_HTMLEditor = IsHTMLEditor();