From 184d53147797363e65f8f7236d447e98f69e0326 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 6 Feb 2023 12:02:09 -0500 Subject: [PATCH] PaymentProcessor - Use ajax refresh --- CRM/Admin/Form/PaymentProcessor.php | 3 +-- templates/CRM/Admin/Form/PaymentProcessor.tpl | 15 +++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/CRM/Admin/Form/PaymentProcessor.php b/CRM/Admin/Form/PaymentProcessor.php index 2e6a3b99d1..014727e76b 100644 --- a/CRM/Admin/Form/PaymentProcessor.php +++ b/CRM/Admin/Form/PaymentProcessor.php @@ -217,8 +217,7 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form { 'payment_processor_type_id', ts('Payment Processor Type'), CRM_Financial_BAO_PaymentProcessor::buildOptions('payment_processor_type_id'), - TRUE, - ['onchange' => "reload(true)"] + TRUE ); // Financial Account of account type asset CRM-11515 diff --git a/templates/CRM/Admin/Form/PaymentProcessor.tpl b/templates/CRM/Admin/Form/PaymentProcessor.tpl index 28827b4409..91e3ef405b 100644 --- a/templates/CRM/Admin/Form/PaymentProcessor.tpl +++ b/templates/CRM/Admin/Form/PaymentProcessor.tpl @@ -145,12 +145,15 @@ {if $action eq 1 or $action eq 2} -- 2.25.1