app/assets/javascripts/cm_admin/form_validation.js in cm-admin-2.4.2 vs app/assets/javascripts/cm_admin/form_validation.js in cm-admin-2.4.3
- old
+ new
@@ -45,10 +45,11 @@
submit.push(true);
}
});
if (submit.length === 0) {
$("." + form_class).submit();
- return $('[data-behaviour="form_submit"]').button("loading");
+ $('[data-behaviour="form_submit_spinner"]').removeClass("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