- commit
- c05d19e2dd46ad89803ad1e24c20afe41ddfde85
- parent
- 82f071918fba64fdbf9b09338f18ef4e99d2af58
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2022-02-06 09:17
close form on move/resize
Diffstat
| M | main.js | 10 | ++++++++-- |
1 files changed, 8 insertions, 2 deletions
diff --git a/main.js b/main.js
@@ -118,8 +118,14 @@ var calendar = new FullCalendar.Calendar( 118 118 } 119 119 }; 120 120 })(),121 -1 eventDrop: info => dav.commitEvent(info.event),122 -1 eventResize: info => dav.commitEvent(info.event),-1 121 eventDrop: info => { -1 122 closeForm(); -1 123 dav.commitEvent(info.event); -1 124 }, -1 125 eventResize: info => { -1 126 closeForm(); -1 127 dav.commitEvent(info.event); -1 128 }, 123 129 height: '100%', 124 130 headerToolbar: { 125 131 left: 'timeGridWeek,dayGridMonth',