Skip to content

Commit

Permalink
dev/core#2012 Update javascript to support change in the way buttons …
Browse files Browse the repository at this point in the history
…are rendered on contribution forms
  • Loading branch information
seamuslee001 committed Oct 10, 2020
1 parent 155c370 commit 39e1d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/dpm.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cj(function ($) {
// hide fields that are used for error display before validation
$('#iats-dpm-continue .crm-error').hide();
/* initiate an ajax submission of the billing dadta: check for required fields, then do a background POST */
$('#crm-submit-buttons .crm-button input').click(function( defaultSubmitEvent ) {
$('#crm-submit-buttons .crm-button input, #crm-submit-buttons .crm-button button').click(function( defaultSubmitEvent ) {
var inputButton = $(this);
inputButton.val('Processing ...').prop('disabled',true);
// reset the list of errors
Expand Down

0 comments on commit 39e1d22

Please sign in to comment.