Skip to content

Commit

Permalink
Merge pull request #1171 from angelleye/PFW-167
Browse files Browse the repository at this point in the history
Braintree Validation Messages on form, PFW-167
  • Loading branch information
Andrew Angell committed Jul 17, 2018
2 parents 2d1a6bd + 0164cd0 commit fd1e9d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/wc-gateway-braintree-angelleye.php
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,8 @@ function is_angelleye_braintree_selected() {
$('.woocommerce-error').remove();
$('.braintree-device-data', ccForm).remove();
$('.braintree-token', ccForm).remove();
$('.woocommerce-error').remove();
$('.is_submit').remove();
unique_form_for_validation.prepend('<ul class="woocommerce-error"><li>' + err + '</li></ul>');
$form.unblock();
var scrollElement = $( '.woocommerce-error' );
Expand Down

0 comments on commit fd1e9d9

Please sign in to comment.