mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
guard against a type error in handling locks for OnlyOffice
This commit is contained in:
parent
2fcd4e4630
commit
3bbbe61ec4
@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user