fix whole-day recuring events always asks for splitting of series when trying to store

caused by wrong condition hinting whole-day flag has changed
This commit is contained in:
ralf 2024-07-06 08:28:43 +02:00
parent 40f7b295c5
commit 7f92a44dce

View File

@ -2250,7 +2250,7 @@ export class CalendarApp extends EgwApp
var end_date = this.et2.getValueById('end');
var whole_day = <et2_checkbox> this.et2.getWidgetById('whole_day');
var duration = ''+this.et2.getValueById('duration');
var is_whole_day = whole_day && whole_day.get_value() == whole_day.options.selected_value;
var is_whole_day = whole_day && whole_day.value == whole_day.selected_value;
var button = _button;
var that = this;