[Rt-commit] rt branch, 4.0-trunk, updated. rt-3.9.7-1185-g6fcfffe
Alex Vandiver
alexmv at bestpractical.com
Thu Jan 6 16:59:15 EST 2011
The branch, 4.0-trunk has been updated
via 6fcfffe750f1ef95505aaa0dc091ca46f7c1e600 (commit)
from d7f0dd7e5f781ed23eb053e45edb6bc5256fb879 (commit)
Summary of changes:
share/html/Elements/SelectStatus | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 6fcfffe750f1ef95505aaa0dc091ca46f7c1e600
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Jan 6 16:58:46 2011 -0500
Add back Muliple support for SelectStatus, broken in 2ad74ba
diff --git a/share/html/Elements/SelectStatus b/share/html/Elements/SelectStatus
index 06e3518..0d0bb52 100644
--- a/share/html/Elements/SelectStatus
+++ b/share/html/Elements/SelectStatus
@@ -45,7 +45,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<select name="<%$Name%>">
+<select name="<%$Name%>" <% $Multiple ? qq{multiple="multiple" size="$Size"} : '' |n %>>
% if ( $DefaultValue ) {
<option value=""<% !$Default && qq[ selected="selected"] |n %>><% $DefaultLabel %></option>
% }
@@ -93,4 +93,7 @@ $Default => ''
$SkipDeleted => 0
$DefaultValue => 1
$DefaultLabel => "-"
+
+$Multiple => 0
+$Size => 6
</%ARGS>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list