mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +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');
|
$modal.removeClass('active');
|
||||||
// Using `setTimeout` here to let the transition finish
|
// Using `setTimeout` here to let the transition finish
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
$modal.find('#modal-content').trigger('close-modal');
|
||||||
$modal.remove();
|
$modal.remove();
|
||||||
}, 200);
|
}, 200);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user