Skip to content

Commit

Permalink
hot fix #723
Browse files Browse the repository at this point in the history
  • Loading branch information
umut-er committed Jul 3, 2024
1 parent c49f0ea commit 6358611
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/js/backbone-views.js
Original file line number Diff line number Diff line change
Expand Up @@ -4027,7 +4027,8 @@ var PromptConfirmationView = Backbone.View.extend({
$(document)
.off("click", "#prompt-confirmation-cancel")
.on("click", "#prompt-confirmation-cancel", function (evt) {
cancelFunction();
if(cancelFunction)
cancelFunction();
$(self.el).modal("toggle");
});

Expand Down

0 comments on commit 6358611

Please sign in to comment.