From ed3e9204ac0e91153ffb1df71f2017184f4c2a7f Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 24 Jul 2023 15:42:50 -0600 Subject: [PATCH] Calendar: Fix clicking in dayview with multiple users added them all to the new event --- 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 de70cfc5a6..efa0fc6356 100644 --- a/calendar/js/et2_widget_timegrid.ts +++ b/calendar/js/et2_widget_timegrid.ts @@ -2048,7 +2048,7 @@ export class et2_calendar_timegrid extends et2_calendar_view implements et2_IDet date: target.dataset.date || this.options.date, hour: target.dataset.hour || this._parent.options.day_start, minute: target.dataset.minute || 0, - owner: this.options.owner + owner: this.daily_owner ? _ev.target.closest(".calendar_calDayCol").dataset.owner : this.options.owner }; app.calendar.add(options); _ev.preventDefault();