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

index 58af6bc..7ab08a3 100644 (file)
                      $f->{'hashref'}     = {
                                             '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)