From: eileenmcnaugton Date: Tue, 25 Aug 2015 22:15:02 +0000 (+1200) Subject: CRM-16555 follow up fix - the credit card js got removed from membership etc forms X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=071fee7740d6a05893633d634ea8ced87f073f5b;p=civicrm-core.git CRM-16555 follow up fix - the credit card js got removed from membership etc forms --- diff --git a/CRM/Contribute/Form/AbstractEditPayment.php b/CRM/Contribute/Form/AbstractEditPayment.php index a0cc965fee..096c07da83 100644 --- a/CRM/Contribute/Form/AbstractEditPayment.php +++ b/CRM/Contribute/Form/AbstractEditPayment.php @@ -440,6 +440,7 @@ LEFT JOIN civicrm_contribution on (civicrm_contribution.contact_id = civicrm_co $this->_recurPaymentProcessors[$id] = $this->_processors[$id]; } } + CRM_Financial_Form_Payment::addCreditCardJs(); } $this->assign('recurringPaymentProcessorIds', empty($this->_recurPaymentProcessors) ? '' : implode(',', array_keys($this->_recurPaymentProcessors)) diff --git a/CRM/Contribute/Form/Contribution.php b/CRM/Contribute/Form/Contribution.php index 4719dc8eba..84a579b7d9 100644 --- a/CRM/Contribute/Form/Contribution.php +++ b/CRM/Contribute/Form/Contribution.php @@ -290,7 +290,6 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP // Set title if ($this->_mode) { - CRM_Financial_Form_Payment::addCreditCardJs(); $this->setPageTitle($this->_ppID ? ts('Credit Card Pledge Payment') : ts('Credit Card Contribution')); } else {