diff options
author | Mark Wells <mark@freeside.biz> | 2016-04-28 20:19:49 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-04-28 20:22:56 -0700 |
commit | 58dca90a87df3a8de108c3f92f6f3017da734d96 (patch) | |
tree | 101de97a12105c5ca8b633a444f0d6adb6dd618a /httemplate/edit | |
parent | 06b3cebdee3d838cf25d51b5bd5668b47fec7a4e (diff) |
more convenient selection of domain in svc_acct definition, #40962
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/elements/part_svc_column.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/edit/elements/part_svc_column.html b/httemplate/edit/elements/part_svc_column.html index d9500320a..d2aa14ead 100644 --- a/httemplate/edit/elements/part_svc_column.html +++ b/httemplate/edit/elements/part_svc_column.html @@ -133,7 +133,10 @@ that field. % } elsif ( $def->{'type'} eq 'select' ) { % % if ( $def->{'select_table'} ) { - <& /elements/select-table.html, +% # set the 'select_svc' flag to enable two-step selection of services +% my $comp = '/elements/select-table.html'; +% $comp = '/elements/select-svc.html' if $def->{'select_svc'}; + <& $comp, 'field' => $name, 'id' => $name.'_select', 'table' => $def->{'select_table'}, |