diff --git a/calendar/js/app.ts b/calendar/js/app.ts index 6374db3d46..da1a99c997 100644 --- a/calendar/js/app.ts +++ b/calendar/js/app.ts @@ -1498,7 +1498,7 @@ export class CalendarApp extends EgwApp } // Update end date, min duration is 1 minute - let end = widget.getRoot().getDOMWidgetById('end'); + let end = widget.getRoot().getWidgetById('end'); let start_time = new Date(widget.getValue()); let end_time = new Date(end.getValue()); if(end.getValue() && end_time <= start_time)