diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index 7eff0cf31..ce96eac81 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -215,7 +215,7 @@ define([ var tabId = metadataMgr.getNetfluxId() + '-' + obj.id; if (content.ids[tabId]) { delete content.ids[tabId]; - delete content.locks[tabId]; + if (content.locks) { delete content.locks[tabId]; } APP.onLocal(); } };