Fix type error when downloading drive root

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

@ -1406,6 +1406,7 @@ define([
} }
break; break;
case "cursor": case "cursor":
if (cursor && cursor.updateCursor) {
cursor.updateCursor({ cursor.updateCursor({
type: "cursor", type: "cursor",
messages: [{ messages: [{
@ -1415,6 +1416,7 @@ define([
useridoriginal: myOOId useridoriginal: myOOId
}] }]
}); });
}
break; break;
case "getLock": case "getLock":
handleLock(obj, send); handleLock(obj, send);

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

Loading…
Cancel
Save