mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix diverse calendar errors #60294
thought not sure how this is supposed to work in 21.1, both look like a general problem
This commit is contained in:
parent
cbed97de6d
commit
51b0888b5d
@ -985,7 +985,7 @@ export class etemplate2
|
||||
_root.iterateOver(function (_widget)
|
||||
{
|
||||
// The widget must have an id to be included in the values array
|
||||
if (_widget.id == "") {
|
||||
if (_widget.id === undefined || _widget.id === "") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -630,10 +630,8 @@ export class CalendarApp extends EgwApp
|
||||
let filtered = Object.keys(this._grants).filter(account => this.state.owner.indexOf(account) >= 0);
|
||||
|
||||
// Check if we're interested in displaying by owner / participant
|
||||
let owner_check = et2_calendar_event.owner_check(cal_event, jQuery.extend({},
|
||||
{options: {owner: filtered}},
|
||||
this.et2
|
||||
));
|
||||
let owner_check = et2_calendar_event.owner_check(cal_event, this.et2, jQuery.extend({},
|
||||
{options: {owner: filtered}}));
|
||||
if(!owner_check)
|
||||
{
|
||||
// The owner is not in the list of what we're allowed / care about
|
||||
|
Loading…
Reference in New Issue
Block a user