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:
12765d9
)
CRM-17589 - test value instead of label
author
systopia
<endres@systopia.de>
Wed, 18 Nov 2015 14:15:27 +0000
(15:15 +0100)
committer
systopia
<endres@systopia.de>
Wed, 18 Nov 2015 14:15:27 +0000
(15:15 +0100)
templates/CRM/Contribute/Form/Contribution.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/Contribute/Form/Contribution.tpl
b/templates/CRM/Contribute/Form/Contribution.tpl
index b29113c16091a03c6177489bfc339016bf3ad778..668f70580e2e75473b14abf4d1e61f4960e9a423 100644
(file)
--- a/
templates/CRM/Contribute/Form/Contribution.tpl
+++ b/
templates/CRM/Contribute/Form/Contribution.tpl
@@
-488,7
+488,7
@@
});
function showHideCancelInfo(obj) {
- if (obj.find(":selected").
text() == 'Refunded' || obj.find(":selected").text() == 'Cancelled
') {
+ if (obj.find(":selected").
val() == '7' || obj.find(":selected").val() == '3
') {
cj('#cancelInfo').show( );
cj('#total_amount').attr('readonly', true);
}