See https://www.woltlab.com/community/thread/302346-the-create-album-button-does-not-work-after-closing-the-dialog/
event.detail.push(validationCallback);
});
- dialog.addEventListener("cancel", () => {
+ dialog.addEventListener("afterClose", () => {
if (FormBuilderManager.hasForm(json.formId)) {
FormBuilderManager.unregisterForm(json.formId);
}
});
event.detail.push(validationCallback);
});
- dialog.addEventListener("cancel", () => {
+ dialog.addEventListener("afterClose", () => {
if (FormBuilderManager.hasForm(json.formId)) {
FormBuilderManager.unregisterForm(json.formId);
}