mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 18:08:50 +00:00
Auto-refresh dates
This commit is contained in:
parent
ad37bdb121
commit
22f7388967
@ -92,6 +92,8 @@ class GroupPresencePage {
|
||||
eventResize: async function(info) {
|
||||
try {
|
||||
await ForezPresenceHelper.UpdateEvents(group.id, info.oldEvent.start, info.oldEvent.end, info.event.start, info.event.end)
|
||||
|
||||
calendar.getEventSources()[0].refetch()
|
||||
} catch(e) {
|
||||
console.error(e);
|
||||
notify(tr("Failed to update presence!"), "danger")
|
||||
@ -102,6 +104,8 @@ class GroupPresencePage {
|
||||
eventDrop: async function(info) {
|
||||
try {
|
||||
await ForezPresenceHelper.UpdateEvents(group.id, info.oldEvent.start, info.oldEvent.end, info.event.start, info.event.end)
|
||||
|
||||
calendar.getEventSources()[0].refetch()
|
||||
} catch(e) {
|
||||
console.error(e);
|
||||
notify(tr("Failed to update presence!"), "danger")
|
||||
|
Loading…
Reference in New Issue
Block a user