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:
d4849da
)
simplified fix for CRM-17589 (colemanw)
author
systopia
<endres@systopia.de>
Thu, 7 Jan 2016 16:31:30 +0000
(17:31 +0100)
committer
systopia
<endres@systopia.de>
Thu, 7 Jan 2016 16:31:30 +0000
(17:31 +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 1cb854d5cd4b0d95cb35cc1c642dd4c1b9bdbb99..95f2dd8194d3b1429daa075f9e2bf5115401440a 100644
(file)
--- a/
templates/CRM/Contribute/Form/Contribution.tpl
+++ b/
templates/CRM/Contribute/Form/Contribution.tpl
@@
-488,9
+488,8
@@
});
function showHideCancelInfo(obj) {
- var selected_status_id = obj.find(":selected").val();
var cancelInfo_show_ids = [{/literal}{$cancelInfo_show_ids}{literal}];
- if (cancelInfo_show_ids.indexOf(
selected_status_id
) > -1) {
+ if (cancelInfo_show_ids.indexOf(
obj.val()
) > -1) {
cj('#cancelInfo').show( );
cj('#total_amount').attr('readonly', true);
}