caldav-client

standalone CalDAV web client
git clone https://git.ce9e.org/caldav-client.git

commit
46f26ec44ef83be61b21d06a160ff6559608f190
parent
64a7f1bfb04e196e37f7dee9a77c4aee1659aa1b
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-02-11 07:22
reset drag/resize on failure

Diffstat

M main.js 4 ++--

1 files changed, 2 insertions, 2 deletions


diff --git a/main.js b/main.js

@@ -121,11 +121,11 @@ var calendar = new FullCalendar.Calendar(
  121   121         })(),
  122   122         eventDrop: info => {
  123   123             closeForm();
  124    -1             dav.commitEvent(info.event);
   -1   124             dav.commitEvent(info.event).catch(() => info.revert());
  125   125         },
  126   126         eventResize: info => {
  127   127             closeForm();
  128    -1             dav.commitEvent(info.event);
   -1   128             dav.commitEvent(info.event).catch(() => info.revert());
  129   129         },
  130   130         eventDidMount: info => {
  131   131             info.el.title = info.event.title;