[freeside-commits] branch master updated. 50c2e50db2999c61db1c1c72ae416482ef370d99

Ivan ivan at 420.am
Thu Oct 24 20:10:29 PDT 2013


The branch, master has been updated
       via  50c2e50db2999c61db1c1c72ae416482ef370d99 (commit)
      from  7427b3722522f049c9ebdb4ba3780a91b88c414f (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 50c2e50db2999c61db1c1c72ae416482ef370d99
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Oct 24 20:10:28 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