diff --git a/layouts/v7/resources/helper.js b/layouts/v7/resources/helper.js index 4602b8bf95484eb83b73f64921deabee0e537fca..58ffff39b002260e530783ee645da137ddce2f03 100644 --- a/layouts/v7/resources/helper.js +++ b/layouts/v7/resources/helper.js @@ -436,7 +436,7 @@ jQuery.Class("Vtiger_Helper_Js",{ if(typeof cb === "function") { container.off('shown.bs.modal'); //This event is fired when the modal has been made visible to the user - container.on('shown.bs.modal', function () { + container.one('shown.bs.modal', function () { cb(container); }); }