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:
9b2e937
)
Restore buildCustomData to contribution forms CRM-12331
author
Coleman Watts
<coleman@civicrm.org>
Sun, 14 Apr 2013 16:45:08 +0000
(09:45 -0700)
committer
Coleman Watts
<coleman@civicrm.org>
Sun, 14 Apr 2013 16:45:08 +0000
(09:45 -0700)
CRM/Contribute/Form/Contribution.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contribute/Form/Contribution.php
b/CRM/Contribute/Form/Contribution.php
index 4b44a5784879c484d35e8fefe9ad28f40fb215f8..22391fb4f693681ef2ef0a42cdbd0c867b4056d2 100644
(file)
--- a/
CRM/Contribute/Form/Contribution.php
+++ b/
CRM/Contribute/Form/Contribution.php
@@
-647,7
+647,8
@@
class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
$financialType = $this->add('select', 'financial_type_id',
ts('Financial Type'),
array('' => ts('- select -')) + CRM_Contribute_PseudoConstant::financialType(),
- TRUE
+ TRUE,
+ array('onChange' => "CRM.buildCustomData( 'Contribution', this.value );")
);
if (!$this->_mode) {