mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
modal.js: Trigger close-modal
when.. closing a modal
This commit is contained in:
parent
90a056d988
commit
e704309c41
@ -190,6 +190,7 @@
|
||||
$modal.removeClass('active');
|
||||
// Using `setTimeout` here to let the transition finish
|
||||
setTimeout(function () {
|
||||
$modal.find('#modal-content').trigger('close-modal');
|
||||
$modal.remove();
|
||||
}, 200);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user