For some strange reason, the string for editor type was undefined as is. I changed it to a literal.

This commit is contained in:
sfraser%netscape.com 1999-05-07 05:43:51 +00:00
Родитель 6b66e31ba1
Коммит bd5cf6dee2
1 изменённых файлов: 2 добавлений и 3 удалений

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

@ -1,7 +1,6 @@
/* Main Composer window UI control */
/*the editor type, i.e. "text" or "html" */
var editorType = "html";
/* the name of the editor. Must be unique to this window clique */
var editorName = "EditorAppCoreHTML";
var appCore = null;
@ -19,8 +18,8 @@
appCore = new EditorAppCore();
if (appCore) {
dump("EditorAppCore has been created.\n");
appCore.Init(editorName);
appCore.setEditorType(editorType);
appCore.Init(editorName);
appCore.setEditorType("html");
appCore.setContentWindow( window.frames[0] );
appCore.setWebShellWindow(window);
appCore.setToolbarWindow(window);