Skip to content
Snippets Groups Projects
Commit 00d05317 authored by Rich's avatar Rich Committed by Rich
Browse files

Remove onclick attribute from submit form so that CiviContribute forms do...

Remove onclick attribute from submit form so that CiviContribute forms do stripe processing before submission
parent b06d7e90
Branches
Tags
1 merge request!58Remove onclick attribute from submit form so that CiviContribute forms do...
......@@ -244,6 +244,9 @@ CRM.$(function($) {
return submit(event);
});
// Remove the onclick attribute added by CiviCRM.
submitButton.removeAttribute('onclick');
addSupportForCiviDiscount();
// For CiviCRM Webforms.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment