зеркало из https://github.com/mozilla/pjs.git
Make it a text editor that gets instantiated. Remove obsolete line.
This commit is contained in:
Родитель
43e56fbabe
Коммит
bae2f86be4
|
@ -20,11 +20,11 @@
|
||||||
if (appCore != null) {
|
if (appCore != null) {
|
||||||
dump("EditorAppCore has been created.\n");
|
dump("EditorAppCore has been created.\n");
|
||||||
appCore.Init("EditorAppCore");
|
appCore.Init("EditorAppCore");
|
||||||
|
appCore.setEditorType("text");
|
||||||
appCore.setContentWindow(window.frames[0]);
|
appCore.setContentWindow(window.frames[0]);
|
||||||
appCore.setWebShellWindow(window);
|
appCore.setWebShellWindow(window);
|
||||||
appCore.setToolbarWindow(window);
|
appCore.setToolbarWindow(window);
|
||||||
dump("Adding EditorAppCore to AppCoreManager...\n");
|
dump("Adding EditorAppCore to AppCoreManager...\n");
|
||||||
/* XPAppCoresManager.Add(appCore); */
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
dump("EditorAppCore has already been created! Why?\n");
|
dump("EditorAppCore has already been created! Why?\n");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче