projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7427b37
)
selectable choice for arbitrary fields, RT#25623
author
Ivan Kohler
<ivan@freeside.biz>
Fri, 25 Oct 2013 03:10:28 +0000
(20:10 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Fri, 25 Oct 2013 03:10:28 +0000
(20:10 -0700)
httemplate/edit/elements/svc_Common.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/elements/svc_Common.html
b/httemplate/edit/elements/svc_Common.html
index
321c685
..
64484eb
100644
(file)
--- 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'