From e4e938ca5d568e12703152c5af3df570c8866850 Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Mon, 7 Aug 2017 15:34:03 +0530 Subject: [PATCH] CRM-21038 - select default processor if hidden by amount selection --- templates/CRM/common/paymentBlock.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/CRM/common/paymentBlock.tpl b/templates/CRM/common/paymentBlock.tpl index acbafb5ca3..f509332d76 100644 --- a/templates/CRM/common/paymentBlock.tpl +++ b/templates/CRM/common/paymentBlock.tpl @@ -52,6 +52,8 @@ payment_processor.show(); payment_information.show(); billing_block.show(); + // also set selected payment methods + cj('input[name="payment_processor_id"][checked=checked]').prop('checked', true); } } -- 2.25.1