summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-exchange.html
diff options
context:
space:
mode:
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} %>');