T1357: Fix unwanted "local changes" warning when moving/resizing shared event by delegatee
This commit is contained in:
parent
da752c6b99
commit
baf491e2bb
1 changed files with 9 additions and 2 deletions
|
@ -2500,6 +2500,12 @@ function rcube_calendar_ui(settings)
|
||||||
// display confirm dialog when modifying/deleting an event
|
// display confirm dialog when modifying/deleting an event
|
||||||
var update_event_confirm = function(action, event, data)
|
var update_event_confirm = function(action, event, data)
|
||||||
{
|
{
|
||||||
|
// Allow other plugins to do actions here
|
||||||
|
// E.g. when you move/resize the event init wasn't called
|
||||||
|
// but we need it as some plugins may modify user identities
|
||||||
|
// we depend on here (kolab_delegation)
|
||||||
|
rcmail.triggerEvent('calendar-event-init', {o: event});
|
||||||
|
|
||||||
if (!data) data = event;
|
if (!data) data = event;
|
||||||
var decline = false, notify = false, html = '', cal = me.calendars[event.calendar],
|
var decline = false, notify = false, html = '', cal = me.calendars[event.calendar],
|
||||||
_has_attendees = has_attendees(event), _is_organizer = is_organizer(event);
|
_has_attendees = has_attendees(event), _is_organizer = is_organizer(event);
|
||||||
|
@ -2507,6 +2513,7 @@ function rcube_calendar_ui(settings)
|
||||||
// event has attendees, ask whether to notify them
|
// event has attendees, ask whether to notify them
|
||||||
if (_has_attendees) {
|
if (_has_attendees) {
|
||||||
var checked = (settings.itip_notify & 1 ? ' checked="checked"' : '');
|
var checked = (settings.itip_notify & 1 ? ' checked="checked"' : '');
|
||||||
|
|
||||||
if (_is_organizer) {
|
if (_is_organizer) {
|
||||||
notify = true;
|
notify = true;
|
||||||
if (settings.itip_notify & 2) {
|
if (settings.itip_notify & 2) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue