From 74f0822494b6b9e9f3c1ccb32826a2dbb21285e3 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 24 Feb 2023 11:59:26 -0700 Subject: [PATCH] Calendar: Fix end date did not hide when using an event duration --- calendar/js/app.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/js/app.ts b/calendar/js/app.ts index 4487e15cc9..5a2e9a474e 100644 --- a/calendar/js/app.ts +++ b/calendar/js/app.ts @@ -1463,7 +1463,8 @@ export class CalendarApp extends EgwApp if(duration != null && end != null) { - end.set_disabled(duration.get_value()!==''); + end.set_disabled(duration.get_value() !== ''); + end.classList.toggle("hideme", end.disabled); // Only set end date if not provided, adding seconds fails with DST // @ts-ignore