From 50de7bfae646a9c7d7111f7948884112dae553e7 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 23 Jun 2020 15:02:55 +0200 Subject: [PATCH] Fix type error with drag&drop --- www/common/onlyoffice/inner.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index 9e6e1c972..8e43e42b1 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -1123,6 +1123,9 @@ define([ if (ifr) { ifr.remove(); } }; + APP.UploadImageFiles = function (files, type, id, jwt, cb) { + cb('NO'); + }; APP.AddImage = function(cb1, cb2) { APP.AddImageSuccessCallback = cb1; APP.AddImageErrorCallback = cb2;