app/assets/javascripts/cm_admin/form_validation.js in cm-admin-3.0.12 vs app/assets/javascripts/cm_admin/form_validation.js in cm-admin-3.0.13

- old
+ new

@@ -45,11 +45,12 @@ submit.push(true); } }); if (submit.length === 0) { $("." + form_class).submit(); + if ($('.' + form_class).attr('data-is-drawer-form') === "true") return; $('[data-behaviour="form_submit_spinner"]').removeClass("visually-hidden"); - return $('[data-behaviour="form_submit"]').addClass("visually-hidden"); + return $('[data-behaviour="form_submit"]').addClass("visually-hidden"); } }); $(document).on("click", '[data-behaviour="discard_form"]', function (e) { e.preventDefault(); \ No newline at end of file