For some strange reason, the string for editor type was undefined as is. I changed it to a literal.
git-svn-id: svn://10.0.0.236/trunk@30681 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user