Fix type error when downloading drive root

pull/1/head
yflory 3 years ago
parent 493b0ebcca
commit ea2ae2aa34

@ -1406,15 +1406,17 @@ define([
}
break;
case "cursor":
cursor.updateCursor({
type: "cursor",
messages: [{
cursor: obj.cursor,
time: +new Date(),
user: myUniqueOOId,
useridoriginal: myOOId
}]
});
if (cursor && cursor.updateCursor) {
cursor.updateCursor({
type: "cursor",
messages: [{
cursor: obj.cursor,
time: +new Date(),
user: myUniqueOOId,
useridoriginal: myOOId
}]
});
}
break;
case "getLock":
handleLock(obj, send);

@ -698,7 +698,7 @@ define([
var ctx = {
fileHost: privateData.fileHost,
get: common.getPad,
sframeChan: sframeChan,
sframeChan: common.getSframeChannel(),
cache: common.getCache()
};

Loading…
Cancel
Save