mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
* Calendar: Fix event click and event drag were not properly separated
This commit is contained in:
parent
7733c8dfd4
commit
fb10829580
@ -1600,7 +1600,7 @@ var et2_calendar_timegrid = /** @class */ (function (_super) {
|
||||
}
|
||||
this.div.off('mousemove.dragcreate');
|
||||
this.gridHover.css('cursor', '');
|
||||
return this._drag_create_end(end);
|
||||
return this._drag_create_end(this.drag_create.event ? end : undefined);
|
||||
};
|
||||
/**
|
||||
* Get time from position for drag and drop
|
||||
|
@ -2101,7 +2101,7 @@ export class et2_calendar_timegrid extends et2_calendar_view implements et2_IDet
|
||||
this.div.off('mousemove.dragcreate');
|
||||
this.gridHover.css('cursor', '');
|
||||
|
||||
return this._drag_create_end(end);
|
||||
return this._drag_create_end( this.drag_create.event ? end : undefined);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user