Skip to content

Commit

Permalink
confirm modal button fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lanesCSO committed Feb 19, 2024
1 parent 9155947 commit 574588b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/api.library.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ api.modal.confirm = function (pMessage, pCallbackMethod, pCallbackParams, pIconT

$("#modal-confirm").find('[name=icon-type]').removeClass().addClass(iconType + " fa-5x");//.html(iconType);

$("#modal-confirm").find("[name=confirm-btn]").once("click", function () {
$("#modal-confirm").find("[name=confirm]").once("click", function () {
// Must wait for the async transition to finsh before invoking the callback function that may be a cascade confirm
$("#modal-confirm").modal('hide').delay(100).queue(function () {
// https://stackoverflow.com/questions/10860171/run-function-after-delay
Expand Down
Loading

0 comments on commit 574588b

Please sign in to comment.