mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Calendar: Fix calendars on Home did not load when sidebox was not loaded
This commit is contained in:
parent
b146452754
commit
9eecc9218f
@ -3760,13 +3760,13 @@ export class CalendarApp extends EgwApp
|
||||
let groups = [];
|
||||
let option_owner = null;
|
||||
let options : SelectOption[];
|
||||
if(app.calendar && app.calendar.sidebox_et2 && app.calendar.sidebox_et2.getWidgetById('owner'))
|
||||
if(this.sidebox_et2 && this.sidebox_et2.getWidgetById('owner'))
|
||||
{
|
||||
option_owner = app.calendar.sidebox_et2.getWidgetById('owner');
|
||||
option_owner = this.sidebox_et2.getWidgetById('owner');
|
||||
}
|
||||
else
|
||||
{
|
||||
option_owner = parent.getArrayMgr("sel_options").getRoot().getEntry('owner');
|
||||
option_owner = this.et2.getArrayMgr("sel_options").getRoot().getEntry('owner') || {select_options: []};
|
||||
}
|
||||
|
||||
options = option_owner.select_options;
|
||||
|
Loading…
Reference in New Issue
Block a user