mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Calendar: Fix push bugs
- Change status from edit dialog did not push - Change participants from edit dialog did not update planner by user correctly, sometimes not added, sometimes not removed
This commit is contained in:
parent
ab1e59c0df
commit
1cbbfbd9a5
@ -1746,6 +1746,8 @@ class calendar_boupdate extends calendar_bo
|
|||||||
$tracking = new calendar_tracking($this);
|
$tracking = new calendar_tracking($this);
|
||||||
$tracking->track($event, $old_event);
|
$tracking->track($event, $old_event);
|
||||||
|
|
||||||
|
// notify the link-class about the update, as other apps may be subscribed to it
|
||||||
|
Link::notify_update('calendar',$event['id'],$event,"update");
|
||||||
}
|
}
|
||||||
return $Ok;
|
return $Ok;
|
||||||
}
|
}
|
||||||
|
@ -3199,9 +3199,6 @@ class calendar_uiforms extends calendar_ui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// notify the link-class about the update, as other apps may be subscribed to it
|
|
||||||
Link::notify_update('calendar',$event['id'],$event,"update");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -222,6 +222,8 @@ var et2_calendar_planner = /** @class */ (function (_super) {
|
|||||||
if (sort_key === egw.user('account_id')) {
|
if (sort_key === egw.user('account_id')) {
|
||||||
row.set_class('current_user');
|
row.set_class('current_user');
|
||||||
}
|
}
|
||||||
|
// Set account_id so event.owner_check can use it
|
||||||
|
row.options.owner = sort_key;
|
||||||
// Since the daywise cache is by user, we can tap in here
|
// Since the daywise cache is by user, we can tap in here
|
||||||
var t = new Date(this.options.start_date);
|
var t = new Date(this.options.start_date);
|
||||||
var end = new Date(this.options.end_date);
|
var end = new Date(this.options.end_date);
|
||||||
|
@ -556,6 +556,9 @@ export class et2_calendar_planner extends et2_calendar_view implements et2_IDeta
|
|||||||
{
|
{
|
||||||
row.set_class('current_user')
|
row.set_class('current_user')
|
||||||
}
|
}
|
||||||
|
// Set account_id so event.owner_check can use it
|
||||||
|
row.options.owner = sort_key;
|
||||||
|
|
||||||
// Since the daywise cache is by user, we can tap in here
|
// Since the daywise cache is by user, we can tap in here
|
||||||
var t = new Date(this.options.start_date);
|
var t = new Date(this.options.start_date);
|
||||||
var end = new Date(this.options.end_date);
|
var end = new Date(this.options.end_date);
|
||||||
|
Loading…
Reference in New Issue
Block a user