mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix UI not updated when moving an event from a calendar to another
This commit is contained in:
parent
a4cf1b447f
commit
23dcc2e30d
@ -664,7 +664,11 @@ ctx.calendars[channel] = {
|
||||
nThen(function (waitFor) {
|
||||
Realtime.whenRealtimeSyncs(c.lm.realtime, waitFor());
|
||||
if (newC) { Realtime.whenRealtimeSyncs(newC.lm.realtime, waitFor()); }
|
||||
}).nThen(cb);
|
||||
}).nThen(function () {
|
||||
sendUpdate(ctx, c);
|
||||
if (newC) { sendUpdate(ctx, newC); }
|
||||
cb();
|
||||
});
|
||||
};
|
||||
var deleteEvent = function (ctx, data, cId, cb) {
|
||||
var id = data.calendarId;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user