mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix type error when downloading drive root
This commit is contained in:
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…
Reference in New Issue
Block a user