mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 12:58:46 +01:00
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.
This commit is contained in:
parent
339241cce7
commit
d28dc1451e
@ -1859,12 +1859,9 @@ var et2_calendar_timegrid = (function(){ "use strict"; return et2_calendar_view.
|
|||||||
var options = {
|
var options = {
|
||||||
date: target.dataset.date || this.options.date,
|
date: target.dataset.date || this.options.date,
|
||||||
hour: target.dataset.hour || this._parent.options.day_start,
|
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');
|
this.egw().open(null, 'calendar', 'add', options, '_blank');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user