diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-10-24 20:10:29 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-10-24 20:10:29 -0700 |
commit | dfbfe2c0a30fe1d99b9d852b8e96a84bf101aff1 (patch) | |
tree | cbac3b365a2d3691617489cdb5f0528a0b1e23ed /httemplate/edit/elements/svc_Common.html | |
parent | a739906dfe203b5432ba3e489bcc25f99259bba7 (diff) |
selectable choice for arbitrary fields, RT#25623
Diffstat (limited to 'httemplate/edit/elements/svc_Common.html')
-rw-r--r-- | httemplate/edit/elements/svc_Common.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html index 321c68545..64484eba0 100644 --- a/httemplate/edit/elements/svc_Common.html +++ b/httemplate/edit/elements/svc_Common.html @@ -121,6 +121,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' |