mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Calendar: Fix TypeError: Cannot read properties of null (reading 'getValue')
Thrown when creating a new event via quick add or changing the start date
This commit is contained in:
parent
734401c6cd
commit
3c656701f5
@ -1498,7 +1498,7 @@ export class CalendarApp extends EgwApp
|
||||
}
|
||||
|
||||
// Update end date, min duration is 1 minute
|
||||
let end = <et2_date> widget.getRoot().getDOMWidgetById('end');
|
||||
let end = <et2_date>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)
|
||||
|
Loading…
Reference in New Issue
Block a user