Calendar: Fix clicking in dayview with multiple users added them all to the new event

This commit is contained in:
nathan 2023-07-24 15:42:50 -06:00
parent e28191600d
commit ed3e9204ac

View File

@ -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();