Fix config
This commit is contained in:
parent
34f2d66b7e
commit
d5dce6ac22
@ -118,13 +118,14 @@ define([
|
|||||||
},
|
},
|
||||||
"onReady": function(/*evt*/) { console.log("in onReady"); },
|
"onReady": function(/*evt*/) { console.log("in onReady"); },
|
||||||
"onAppReady": function(/*evt*/) { console.log("in onAppReady"); },
|
"onAppReady": function(/*evt*/) { console.log("in onAppReady"); },
|
||||||
|
"onDownloadAs": function (evt) { console.log("in onDownloadAs", evt); }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
window.onbeforeunload = function () {
|
window.onbeforeunload = function () {
|
||||||
var ifr = document.getElementsByTagName('iframe')[0];
|
var ifr = document.getElementsByTagName('iframe')[0];
|
||||||
if (ifr) { ifr.remove(); }
|
if (ifr) { ifr.remove(); }
|
||||||
};
|
};
|
||||||
APP.docEditor = new DocsAPI.DocEditor("cp-app-oo-placeholder", window.config);
|
APP.docEditor = new DocsAPI.DocEditor("cp-app-oo-placeholder", APP.ooconfig);
|
||||||
};
|
};
|
||||||
|
|
||||||
var readOnly = false;
|
var readOnly = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user