core&ui: bug fix

This commit is contained in:
undefined committed 2022-11-19 17:57:31 +08:00
1 parent 273a0563b3
commit 60820a3e5f
7 files changed
+15 -12

No files matched your search

+1 -1
View File
@@ -346,7 +346,7 @@ class RecordDetailConnectionHandler extends ConnectionHandler {
if (!problem.canViewBy(pdoc, this.user)) throw new PermissionError(PERM.PERM_VIEW_PROBLEM_HIDDEN);
}
this.throttleSend = throttle(this.send, 1000);
this.throttleSend = throttle(this.sendUpdate, 1000);
this.rid = rid.toString();
this.cleanup = bus.on('record/change', this.onRecordChange.bind(this));
this.onRecordChange(rdoc);