projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab30e03
)
fix formatting
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Thu, 2 Jul 2015 13:04:17 +0000
(
01:04
+1200)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Thu, 2 Jul 2015 13:04:17 +0000
(
01:04
+1200)
CRM/Member/Form/Membership.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Member/Form/Membership.php
b/CRM/Member/Form/Membership.php
index 5a022b02dfbc87321c79374bd2df68758f479ecf..77758ddd7b0140e33a9ad0c41febe0f84d0a4fe5 100644
(file)
--- a/
CRM/Member/Form/Membership.php
+++ b/
CRM/Member/Form/Membership.php
@@
-565,11
+565,11
@@
class CRM_Member_Form_Membership extends CRM_Member_Form {
$memTypeJs = array(
'onChange' => "buildMaxRelated(this.value,true); CRM.buildCustomData('Membership', this.value);",
);
+
if (!empty($this->_recurPaymentProcessors)) {
$memTypeJs['onChange'] = "" . $memTypeJs['onChange'] . 'buildAutoRenew(this.value, null);';
}
- ;
$this->add('text', 'max_related', ts('Max related'),
CRM_Core_DAO::getAttribute('CRM_Member_DAO_Membership', 'max_related')
);