From b14f6e4030b2c5ccb1f52a048be4dd9b6bfa9d18 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 16 Jan 2020 11:35:17 +0100 Subject: [PATCH] Fix image upload --- www/common/onlyoffice/inner.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index a19e79d2a..ff6f82b7f 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -87,7 +87,7 @@ define([ var mediasData = {}; var getMediasSources = APP.getMediasSources = function() { - content.mediasSources = content.mediaSources || {}; + content.mediasSources = content.mediasSources || {}; return content.mediasSources; }; @@ -711,7 +711,12 @@ define([ '#fm-btn-save { display: none !important; }' + '#panel-settings-general tr.autosave { display: none !important; }' + '#panel-settings-general tr.coauth { display: none !important; }' + - '#header { display: none !important; }'; + '#header { display: none !important; }' + + '#title-doc-name { display: none !important; }' + + '#asc-gen566 { display: none !important; }' + + 'section[data-tab="ins"] .separator:nth-last-child(2) { display: none !important; }' + + '#slot-btn-insequation { display: none !important; }' + + ''; // #asc-gen566 // XXX // + '#id-toolbar-full-placeholder-btn-insertimage { display: none; }' + // '#id-toolbar-full-placeholder-btn-insertequation { display: none; }';