* Calendar: Fix quick-add did not pass changes to start time on to edit dialog

This commit is contained in:
nathangray 2021-04-16 09:15:13 -06:00
parent 4f0c7250da
commit 321fe6a474
2 changed files with 2 additions and 2 deletions

View File

@ -1925,7 +1925,7 @@ var CalendarApp = /** @class */ (function (_super) {
if (title && !title.get_value()) {
title.set_value(title.egw().lang('Event'));
}
var options = jQuery.extend(this._add_dialog_values(widget), this.quick_add);
var options = jQuery.extend(this.quick_add, this._add_dialog_values(widget));
// Open regular edit
egw.open(null, 'calendar', 'edit', options);
// Close the dialog

View File

@ -2158,7 +2158,7 @@ class CalendarApp extends EgwApp
{
title.set_value(title.egw().lang('Event'));
}
let options = jQuery.extend(this._add_dialog_values(widget), this.quick_add);
let options = jQuery.extend(this.quick_add, this._add_dialog_values(widget));
// Open regular edit
egw.open(null,'calendar','edit',options);