summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-01-27 17:07:27 -0800
committerIvan Kohler <ivan@freeside.biz>2014-01-27 17:07:27 -0800
commit5ffd80e8e6ac4554fc4515b018eaf0354ebcdc9a (patch)
tree7f3e97bcd5583f85c2bde8ac508265be3dc08385 /httemplate
parent48fc9f425ec3454f4346089318994ae6c1e080a8 (diff)
fix fallout: allowing selectable choice for arbitrary things broke classic selectable choice for domains, RT#25623
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/elements/svc_Common.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/elements/svc_Common.html b/httemplate/edit/elements/svc_Common.html
index 4131508..fc29327 100644
--- a/httemplate/edit/elements/svc_Common.html
+++ b/httemplate/edit/elements/svc_Common.html
@@ -126,7 +126,8 @@
'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)