mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
-- not part of the build --
CaScadeS only Editorshell removal
This commit is contained in:
parent
7994d30d0c
commit
ee064acb6b
@ -71,11 +71,11 @@ var gInsertIndex = -1;
|
||||
// * dialog initialization code
|
||||
function Startup()
|
||||
{
|
||||
if (InitEditorShell) {
|
||||
if (typeof window.InitEditorShell == "function") {
|
||||
if (!InitEditorShell())
|
||||
return;
|
||||
}
|
||||
else if (GetCurrentEditor && !GetCurrentEditor()) {
|
||||
else if (typeof window.GetCurrentEditor != "function" || !GetCurrentEditor()) {
|
||||
window.close();
|
||||
return;
|
||||
}
|
||||
@ -1687,7 +1687,7 @@ function onExportStylesheet() {
|
||||
}
|
||||
|
||||
function getCurrentEditor() {
|
||||
if (InitEditorShell)
|
||||
if (typeof window.InitEditorShell == "function")
|
||||
return editorShell.editor;
|
||||
else
|
||||
return GetCurrentEditor();
|
||||
|
Loading…
Reference in New Issue
Block a user