fix fallout: allowing selectable choice for arbitrary things broke classic selectable...
authorIvan Kohler <ivan@freeside.biz>
Tue, 28 Jan 2014 01:07:27 +0000 (17:07 -0800)
committerIvan Kohler <ivan@freeside.biz>
Tue, 28 Jan 2014 01:07:27 +0000 (17:07 -0800)
httemplate/edit/elements/svc_Common.html

index 4131508..fc29327 100644 (file)
                                             'classnum'=>$columndef->columnvalue
                                            };
 
-                   } elsif ( $flag eq 'S' ) { #selectable choice
+                   } elsif ( $flag eq 'S' #selectable choice
+                               && $f->{type} !~ /^select-svc(-domain|_pbx)$/ ) {
                      $f->{type}    = 'select';
                      $f->{options} = [ split( /\s*,\s*/,
                                                 $columndef->columnvalue)