Skip to content

Commit 574588b

Browse files
committed
confirm modal button fix
1 parent 9155947 commit 574588b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/js/api.library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ api.modal.confirm = function (pMessage, pCallbackMethod, pCallbackParams, pIconT
578578

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

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

0 commit comments

Comments
 (0)