diff --git a/calendar/js/app.ts b/calendar/js/app.ts index 745e92e912..8a859613be 100644 --- a/calendar/js/app.ts +++ b/calendar/js/app.ts @@ -2268,7 +2268,7 @@ export class CalendarApp extends EgwApp const end_date = this.et2.getValueById('end'); const whole_day = this.et2.getWidgetById('whole_day'); const duration = ''+this.et2.getValueById('duration'); - const is_whole_day = whole_day && whole_day.get_value() == whole_day.options.selected_value; + const is_whole_day = whole_day && whole_day.value == whole_day.selected_value; const button = _button; const that = this;