Placeholder

This commit is contained in:
2026-01-31 01:08:33 +01:00
parent 68f486236a
commit cd8d37688f
2 changed files with 7 additions and 1 deletions

View File

@@ -1 +1 @@
1.1.67 1.1.68

View File

@@ -524,6 +524,9 @@ const refreshPlaceholderComponent = (component) => {
cancelBtn.addEventListener('click', (e) => { cancelBtn.addEventListener('click', (e) => {
e.preventDefault(); e.preventDefault();
fireCancel('cancel-button'); fireCancel('cancel-button');
if (window.B && typeof window.B.allowModalCloseOnce === 'function') {
window.B.allowModalCloseOnce();
}
modal.close(); modal.close();
}); });
@@ -600,6 +603,9 @@ const refreshPlaceholderComponent = (component) => {
} }
} }
didSave = true; didSave = true;
if (window.B && typeof window.B.allowModalCloseOnce === 'function') {
window.B.allowModalCloseOnce();
}
modal.close(); modal.close();
}); });