summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-10-24 20:10:30 -0700
committerIvan Kohler <ivan@freeside.biz>2013-10-24 20:10:30 -0700
commit30ef568f955526b259892399ba7432dbfce46347 (patch)
tree8083c73c3a32dbbdd427bcfce01cd60f8452f32c
parentbae67061ffa6fb64b94714adf50e272feb759f2d (diff)
selectable choice for arbitrary fields, RT#25623
-rw-r--r--httemplate/edit/elements/svc_Common.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html
index 0d9d36c07..58af6bc83 100644
--- a/httemplate/edit/elements/svc_Common.html
+++ b/httemplate/edit/elements/svc_Common.html
@@ -117,6 +117,11 @@
$f->{'hashref'} = {
'classnum'=>$columndef->columnvalue
};
+ } elsif ( $flag eq 'S' ) { #selectable choice
+ $f->{type} = 'select';
+ $f->{options} = [ split( /\s*,\s*/,
+ $columndef->columnvalue)
+ ];
}
if ( $f->{'type'} eq 'select-svc_pbx'