From 71f4a93d56a85856f1a5d6010985053e4f2c0214 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 25 Jan 2023 11:25:00 -0700 Subject: [PATCH] Calendar: Fix drag and drop to move event in Firefox --- calendar/js/et2_widget_timegrid.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/js/et2_widget_timegrid.ts b/calendar/js/et2_widget_timegrid.ts index f932f71247..d90e24472c 100644 --- a/calendar/js/et2_widget_timegrid.ts +++ b/calendar/js/et2_widget_timegrid.ts @@ -361,7 +361,7 @@ export class et2_calendar_timegrid extends et2_calendar_view implements et2_IDet // Cancel drag to create, we're dragging an existing event timegrid.drag_create.start = null; timegrid._drag_create_end(); - timegrid.div.on("drag.timegrid", (e) => + timegrid.div.on("dragover.timegrid", (e) => { timegrid._get_time_from_position(e.clientX, e.clientY); })