|
|
@ -7,14 +7,27 @@ config = {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"documentType": "spreadsheet",
|
|
|
|
"documentType": "spreadsheet",
|
|
|
|
"editorConfig": {
|
|
|
|
"editorConfig": {
|
|
|
|
"user": {
|
|
|
|
customization: {
|
|
|
|
"id": "c0c3bf82-20d7-4663-bf6d-7fa39c598b1d",
|
|
|
|
chat: false,
|
|
|
|
"name": "John Smith"
|
|
|
|
logo: {
|
|
|
|
}
|
|
|
|
url: "/bounce/#" + encodeURIComponent('https://www.onlyoffice.com')
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"user": {
|
|
|
|
|
|
|
|
"id": "c0c3bf82-20d7-4663-bf6d-7fa39c598b1d",
|
|
|
|
|
|
|
|
"name": "John Smith"
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"events": {
|
|
|
|
"events": {
|
|
|
|
"onDocumentStateChange": function(evt) { console.log("in change"); },
|
|
|
|
"onDocumentStateChange": function (evt) {
|
|
|
|
"onReady": function(evt) { console.log("in onReady"); }
|
|
|
|
if (evt.data) {
|
|
|
|
|
|
|
|
console.log('in change (local)');
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
console.log("in change (remote)");
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"onReady": function(evt) { console.log("in onReady"); },
|
|
|
|
|
|
|
|
"onAppReady": function(evt) { console.log("in onAppReady"); },
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
window.onbeforeunload = null;
|
|
|
|
window.onbeforeunload = null;
|
|
|
|