changeset 460 | b52678741355 |
parent 437 | 52879d6894c0 |
child 486 | 48b7cea0d903 |
--- a/src/pyams_skin/resources/js/myams-init.js Fri Nov 16 15:18:15 2018 +0100 +++ b/src/pyams_skin/resources/js/myams-init.js Mon Nov 19 15:18:08 2018 +0100 @@ -545,7 +545,10 @@ var modal = $(e.target); ams.form.confirmChangedForm(modal, function() { // Confirm closing if OK - modal.data('modal').isShown = true; + var bsModal = modal.data('modal') || modal.data('bs.modal'); + if (bsModal) { + bsModal.isShown = true; + } return true; }, function() { // Prevent closing if cancelled