Skip to content

Commit

Permalink
QA fix
Browse files Browse the repository at this point in the history
  • Loading branch information
monishdeb committed Dec 22, 2020
1 parent b86dc53 commit 10495d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/CRM/common/paymentBlock.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@

$('[name=payment_processor_id], #currency').on('change.paymentBlock', function() {
var payment_processor_id = $('[name=payment_processor_id]:checked').val() == undefined ? $('[name=payment_processor_id]').val() : $('[name=payment_processor_id]:checked').val();
buildPaymentBlock(payment_processor_id);
if (payment_processor_id != undefined) {
buildPaymentBlock(payment_processor_id);
}
});

$('#payment_instrument_id').on('change.paymentBlock', function() {
Expand Down

0 comments on commit 10495d0

Please sign in to comment.