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:
ec764cc
)
dev/core#4912 Fix 'other amount' losing focus
author
Andrew West
<me@awest.uk>
Mon, 15 Jan 2024 16:29:19 +0000
(16:29 +0000)
committer
colemanw
<coleman@civicrm.org>
Mon, 15 Jan 2024 23:27:14 +0000
(18:27 -0500)
https://lab.civicrm.org/dev/core/-/issues/4912
templates/CRM/Contribute/Form/Contribution/Main.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/Contribute/Form/Contribution/Main.tpl
b/templates/CRM/Contribute/Form/Contribution/Main.tpl
index 84f8490e06353920d35c658b0acd001756455928..d44bd2b60028e7763084cab804f3d15ac7708f06 100644
(file)
--- a/
templates/CRM/Contribute/Form/Contribution/Main.tpl
+++ b/
templates/CRM/Contribute/Form/Contribution/Main.tpl
@@
-22,7
+22,7
@@
element = document.Main.elements[i];
if ( element.type == 'radio' && element.name === mainPriceFieldName ) {
if (element.value == '0' ) {
- element.c
lick()
;
+ element.c
hecked = true
;
}
else {
element.checked = false;