diff --git a/javascript/cms-actions.js b/javascript/cms-actions.js index f64e0e5..afdeb48 100644 --- a/javascript/cms-actions.js +++ b/javascript/cms-actions.js @@ -72,6 +72,8 @@ if (this.hasClass("confirm")) { var confirmed = confirm($(this).data("message")); if (!confirmed) { + // Prevent submission + e.preventDefault(); return; } }