From c32b947cd8f6311adc4a88ba66f7598b717eb6ea Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 4 Oct 2016 09:43:52 -0600 Subject: [PATCH] Always pass owner when creating a new appointment, server will check preference and decide who to add as participants. Fixes one more case where 'Just me' preference was not correctly handled - single week, single other user. --- calendar/js/et2_widget_timegrid.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/calendar/js/et2_widget_timegrid.js b/calendar/js/et2_widget_timegrid.js index 6d5b1d6f85..3092c6a149 100644 --- a/calendar/js/et2_widget_timegrid.js +++ b/calendar/js/et2_widget_timegrid.js @@ -1861,12 +1861,9 @@ var et2_calendar_timegrid = (function(){ "use strict"; return et2_calendar_view. var options = { date: target.dataset.date || this.options.date, hour: target.dataset.hour || this._parent.options.day_start, - minute: target.dataset.minute || 0 + minute: target.dataset.minute || 0, + owner: this.options.owner }; - if (this.options.owner.toString() !== app.calendar.state.owner.toString()) - { - options.owner = this.options.owner; - } this.egw().open(null, 'calendar', 'add', options, '_blank'); return false; }