From 4d8fd43ac1428c22d1638bc7a87edcaf02cc25d6 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 4 Mar 2021 11:13:10 +0100 Subject: [PATCH] Fix error popup when dropping an image into oo --- www/common/onlyoffice/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index e9dc03210..fb864f1e5 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -1436,7 +1436,7 @@ define([ */ APP.UploadImageFiles = function (files, type, id, jwt, cb) { - cb('NO'); + return void cb(); }; APP.AddImage = function(cb1, cb2) { APP.AddImageSuccessCallback = cb1;