[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 30ef568f955526b259892399ba7432dbfce46347
Ivan
ivan at 420.am
Thu Oct 24 20:10:31 PDT 2013
The branch, FREESIDE_2_3_BRANCH has been updated
via 30ef568f955526b259892399ba7432dbfce46347 (commit)
from bae67061ffa6fb64b94714adf50e272feb759f2d (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 30ef568f955526b259892399ba7432dbfce46347
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Oct 24 20:10:30 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 0d9d36c..58af6bc 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'
-----------------------------------------------------------------------
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