mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
Calendar: fix planner's vertical bar time cursor did not follow mouse
This commit is contained in:
parent
886de143d4
commit
6194c15b91
@ -296,12 +296,8 @@ export class et2_calendar_planner extends et2_calendar_view implements et2_IDeta
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Position bar by mouse
|
// Position bar by mouse
|
||||||
planner.vertical_bar.position({
|
planner.vertical_bar.css("left", (event.clientX - planner.grid.offset().left + 120) + "px");
|
||||||
my: 'right-1',
|
planner.vertical_bar.css('top', '0px');
|
||||||
of: event,
|
|
||||||
collision: 'fit'
|
|
||||||
});
|
|
||||||
planner.vertical_bar.css('top','0px');
|
|
||||||
|
|
||||||
// Get time at mouse
|
// Get time at mouse
|
||||||
if(jQuery(event.target).closest('.calendar_eventRows').length == 0)
|
if(jQuery(event.target).closest('.calendar_eventRows').length == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user