diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index 219798d7c..0c94aca71 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -1702,7 +1702,7 @@ define([ || Messages.anonymous; let integrationConfig = privateData?.integrationConfig?._; - let ec = integrationConfig?.editorConfig; + //let ec = integrationConfig?.editorConfig; let dc = integrationConfig?.document; // Config @@ -3444,7 +3444,7 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null var wasMigrating = content.migration; var myLocks = getUserLock(getId(), true); - var integrationSave = content.integrationSave; + //var integrationSave = content.integrationSave; content = json.content; diff --git a/www/integration/main.js b/www/integration/main.js index c23a0840e..7db6c73c7 100644 --- a/www/integration/main.js +++ b/www/integration/main.js @@ -188,7 +188,7 @@ define([ name = encodeURIComponent(name); callbackUrl = encodeURIComponent(callbackUrl); key = encodeURIComponent(key); - let query = `name=${name}&cb=${callbackUrl}&key=${key}` + let query = `name=${name}&cb=${callbackUrl}&key=${key}`; let url = getInstanceURL() + `/oosave?${query}`; xhr.open('POST', url, true); xhr.responseType = 'blob';