guard against a type error in handling locks for OnlyOffice
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