Release 2.59 (#5957)

This commit is contained in:
Kevin Papst
2026-06-05 19:05:10 +02:00
committed by GitHub
parent 79d0a2102b
commit 87c85270a9
77 changed files with 2571 additions and 1697 deletions

View File

@@ -255,7 +255,9 @@ export default class KimaiAjaxModalForm extends KimaiReducedClickHandler {
if (hasFieldError || hasFormError || hasFlashError) {
this._openFormInModal(html);
} else {
events.trigger(eventName);
if (eventName !== undefined) {
events.trigger(eventName);
}
this._isDirty = false;
this._getModal().hide();