Fix OnlyOffice sheets

pull/1/head
yflory 4 years ago
parent 0033921610
commit 001d4f4958

@ -898,7 +898,7 @@ define([
var nId = id.slice(0,32);
if (users.indexOf(nId) === -1) {
// Offline locks: support old format
var l = typeof(locks[id]) === "object" ? getUserLock(id) : [locks[id]];
var l = (locks[id] && !locks[id].block) ? getUserLock(id) : [locks[id]];
ooChannel.send({
type: "releaseLock",
locks: l

Loading…
Cancel
Save