summaryrefslogtreecommitdiff
path: root/httemplate/edit/elements
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-05-31 17:02:48 -0700
committerMark Wells <mark@freeside.biz>2013-05-31 17:02:48 -0700
commite0c23bec998267cf2d72ee2a98fa2a88ee1de066 (patch)
treeac44260604b86490503948dbef78658ed86247f9 /httemplate/edit/elements
parent781a4348dd3cbe705d6265d36ac5e08b3ed5d01f (diff)
better multiple-select behavior in part_svc edit, #23251
Diffstat (limited to 'httemplate/edit/elements')
-rw-r--r--httemplate/edit/elements/part_svc_column.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/edit/elements/part_svc_column.html b/httemplate/edit/elements/part_svc_column.html
index d03c49d2f..fbea9bd6d 100644
--- a/httemplate/edit/elements/part_svc_column.html
+++ b/httemplate/edit/elements/part_svc_column.html
@@ -157,6 +157,9 @@ that field.
'multiple' => $def->{'multiple'},
'disable_empty' => 1,
'curr_value' => $value,
+ # these can be switched between multiple and singular,
+ # so put the complete curr_value in an attribute
+ 'element_etc' => 'default="'.encode_entities($value).'"',
&>
% } else {
% my (@options, %labels);