Placeholder
This commit is contained in:
@@ -524,6 +524,9 @@ const refreshPlaceholderComponent = (component) => {
|
||||
cancelBtn.addEventListener('click', (e) => {
|
||||
e.preventDefault();
|
||||
fireCancel('cancel-button');
|
||||
if (window.B && typeof window.B.allowModalCloseOnce === 'function') {
|
||||
window.B.allowModalCloseOnce();
|
||||
}
|
||||
modal.close();
|
||||
});
|
||||
|
||||
@@ -600,6 +603,9 @@ const refreshPlaceholderComponent = (component) => {
|
||||
}
|
||||
}
|
||||
didSave = true;
|
||||
if (window.B && typeof window.B.allowModalCloseOnce === 'function') {
|
||||
window.B.allowModalCloseOnce();
|
||||
}
|
||||
modal.close();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user