mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 09:58:04 +02: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 groups = [];
|
||||||
let option_owner = null;
|
let option_owner = null;
|
||||||
let options : SelectOption[];
|
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
|
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;
|
options = option_owner.select_options;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user