Fix access to undefined object in sheet
This commit is contained in:
parent
0e61c46dcf
commit
50e814f4d0
1 changed files with 1 additions and 1 deletions
|
@ -586,7 +586,7 @@ define([
|
||||||
handleChanges(obj, send);
|
handleChanges(obj, send);
|
||||||
break;
|
break;
|
||||||
case "unLockDocument":
|
case "unLockDocument":
|
||||||
if (obj.releaseLocks && content.locks[getId()]) {
|
if (obj.releaseLocks && content.locks && content.locks[getId()]) {
|
||||||
send({
|
send({
|
||||||
type: "releaseLock",
|
type: "releaseLock",
|
||||||
locks: [content.locks[getId()]]
|
locks: [content.locks[getId()]]
|
||||||
|
|
Loading…
Reference in a new issue