Skip to content

Commit

Permalink
Merge pull request iATSPayments#335 from seamuslee001/dev_core_2012
Browse files Browse the repository at this point in the history
dev/core#2012 Update javascript to support change in the way buttons …
  • Loading branch information
KarinG authored Oct 10, 2020
2 parents 155c370 + 39e1d22 commit c54b185
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 c54b185

Please sign in to comment.