mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Calendar: Fix drag and drop across weeks
Couldn't drop an event from one week to another
This commit is contained in:
parent
b6fa739ee4
commit
e21ce3f54b
@ -362,15 +362,16 @@ 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("dragover.timegrid", (e) =>
|
||||
{
|
||||
timegrid._get_time_from_position(e.clientX, e.clientY);
|
||||
})
|
||||
timegrid._get_time_from_position(event.clientX, event.clientY);
|
||||
})
|
||||
.on("dragend", () =>
|
||||
{
|
||||
timegrid.div.off("drag.timegrid");
|
||||
})
|
||||
.on('dragover', function(event)
|
||||
{
|
||||
timegrid._get_time_from_position(event.clientX, event.clientY);
|
||||
})
|
||||
.on('mousemove', function(event)
|
||||
{
|
||||
timegrid._get_time_from_position(event.clientX, event.clientY);
|
||||
|
Loading…
Reference in New Issue
Block a user