projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.13 ticket#13852
[freeside.git]
/
rt
/
share
/
html
/
Widgets
/
Form
/
Select
diff --git
a/rt/share/html/Widgets/Form/Select
b/rt/share/html/Widgets/Form/Select
index
438f9cc
..
d08cea9
100644
(file)
--- a/
rt/share/html/Widgets/Form/Select
+++ b/
rt/share/html/Widgets/Form/Select
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
6
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-80,11
+80,11
@@
$AlternativeLabel => loc('other...'),
$Multiple => 0,
</%ARGS>
$Multiple => 0,
</%ARGS>
-<select name="<% $Name %>">
+<select name="<% $Name %>"
<% $Multiple ? 'multiple="multiple"' : '' |n%>
>
% if ( $Default ) {
% my $selected = '';
% if ( $Default ) {
% my $selected = '';
-% $selected = 'selected="selected"' unless
@CurrentValue
;
+% $selected = 'selected="selected"' unless
$CurrentValue[0]
;
<option value="__empty_value__" <% $selected |n %>><% $DefaultLabel %></option>
% }
<option value="__empty_value__" <% $selected |n %>><% $DefaultLabel %></option>
% }