From 3b82c5504e3b821306499ef5683986673600e74d Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 18 Mar 2020 15:12:01 +0100 Subject: [PATCH] Refocus the iframe when closing the lock modal --- www/common/onlyoffice/inner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index 8faa82503..0ad29df6c 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -635,6 +635,7 @@ define([ if (isLockedModal.modal) { isLockedModal.modal.closeModal(); delete isLockedModal.modal; + $('#cp-app-oo-editor > iframe')[0].contentWindow.focus(); } send({ type: "getLock",