mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 19:39:26 +01:00
* Calendar: Fix event click and event drag were not properly separated
This commit is contained in:
parent
ccaf269751
commit
af19b5bd32
@ -1600,7 +1600,7 @@ var et2_calendar_timegrid = /** @class */ (function (_super) {
|
|||||||
}
|
}
|
||||||
this.div.off('mousemove.dragcreate');
|
this.div.off('mousemove.dragcreate');
|
||||||
this.gridHover.css('cursor', '');
|
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
|
* 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.div.off('mousemove.dragcreate');
|
||||||
this.gridHover.css('cursor', '');
|
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