summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-exchange.html
diff options
context:
space:
mode:
authorivan <ivan>2011-08-10 05:22:32 +0000
committerivan <ivan>2011-08-10 05:22:32 +0000
commit424ae31847c4fd44e6ed55ec275c8e668c7d2b51 (patch)
tree96455a553e39b85eda278a78f29d0042da26e7c5 /httemplate/elements/select-exchange.html
parent9694a17150af02e8fa3e61f732b776c5f7389874 (diff)
multiple DID provisioning, RT#13721
Diffstat (limited to 'httemplate/elements/select-exchange.html')
-rw-r--r--httemplate/elements/select-exchange.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/select-exchange.html b/httemplate/elements/select-exchange.html
index 012e7c6b7..9e4b5ce97 100644
--- a/httemplate/elements/select-exchange.html
+++ b/httemplate/elements/select-exchange.html
@@ -33,7 +33,9 @@
// blank the current phonenum too
for ( var i = what.form.<% $opt{'prefix'} %>phonenum.length; i >= 0; i-- )
what.form.<% $opt{'prefix'} %>phonenum.options[i] = null;
- opt(what.form.<% $opt{'prefix'} %>phonenum, '', 'Select phone number');
+ if ( what.form.<% $opt{'prefix'} %>phonenum.type != 'select-multiple' ) {
+ opt(what.form.<% $opt{'prefix'} %>phonenum, '', 'Select phone number');
+ }
% if ($opt{empty}) {
opt(what.form.<% $opt{'prefix'} %>exchange, '', '<% $opt{empty} %>');