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:
7fafbee
)
Set options_per_line to zero when changing Custom Field html_type
author
larssandergreen
<lars@wildsight.ca>
Fri, 2 Jun 2023 18:47:40 +0000
(12:47 -0600)
committer
larssandergreen
<lars@wildsight.ca>
Fri, 2 Jun 2023 18:47:40 +0000
(12:47 -0600)
templates/CRM/Custom/Form/Field.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/Custom/Form/Field.tpl
b/templates/CRM/Custom/Form/Field.tpl
index 184d63079a348341041b2ebf1b216b75aa6c68f9..7ed7436ceabea472da0ab8de38458a5c08ef6b45 100644
(file)
--- a/
templates/CRM/Custom/Form/Field.tpl
+++ b/
templates/CRM/Custom/Form/Field.tpl
@@
-216,6
+216,9
@@
if (htmlType === 'CheckBox' || htmlType === 'Radio') {
$('#serialize', $form).prop('checked', htmlType === 'CheckBox');
}
+ else {
+ $("#options_per_line", $form).val('');
+ }
showSearchRange(dataType);
customOptionHtmlType(dataType);