From 53358b97257d41bd3ce2f9f23113fa7a878610fa Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 27 Apr 2021 13:55:03 +0200 Subject: [PATCH] lint compliance --- www/common/onlyoffice/inner.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index fa0e28755..120b07e46 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -356,6 +356,14 @@ define([ } }; + // Add a lock + var isLockedModal = { + content: UI.dialog.customModal(h('div.cp-oo-x2tXls', [ + h('span.fa.fa-spin.fa-spinner'), + h('span', Messages.oo_isLocked) + ])) + }; + Messages.oo_cantMigrate = "This sheet exceeds the maximum upload size and is too large to be migrated."; // XXX var onUploaded = function (ev, data, err) { content.saveLock = undefined; @@ -444,14 +452,6 @@ define([ }; APP.FM = common.createFileManager(fmConfig); - // Add a lock - var isLockedModal = { - content: UI.dialog.customModal(h('div.cp-oo-x2tXls', [ - h('span.fa.fa-spin.fa-spinner'), - h('span', Messages.oo_isLocked) - ])) - }; - var resetData = function (blob, type) { // If a read-only refresh popup was planned, abort it delete APP.refreshPopup;