[freeside-commits] branch FREESIDE_3_BRANCH updated. dfbfe2c0a30fe1d99b9d852b8e96a84bf101aff1
Ivan
ivan at 420.am
Thu Oct 24 20:10:30 PDT 2013
The branch, FREESIDE_3_BRANCH has been updated
via dfbfe2c0a30fe1d99b9d852b8e96a84bf101aff1 (commit)
from a739906dfe203b5432ba3e489bcc25f99259bba7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dfbfe2c0a30fe1d99b9d852b8e96a84bf101aff1
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Oct 24 20:10:29 2013 -0700
selectable choice for arbitrary fields, RT#25623
diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html
index 321c685..64484eb 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'
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/elements/svc_Common.html | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
More information about the freeside-commits
mailing list