diff options
| author | mark <mark> | 2011-08-23 21:45:51 +0000 |
|---|---|---|
| committer | mark <mark> | 2011-08-23 21:45:51 +0000 |
| commit | 4c8c18409f82d56320a80f6c94f275fa15486897 (patch) | |
| tree | deeb2cb64572fb1cd00cb55be48eaa68a69d9984 /rt/share/html/Elements/SelectStatus | |
| parent | 006b2392be94f9670eddf3d01ba89c00f9c16c05 (diff) | |
RT future ticket resolve, #13853
Diffstat (limited to 'rt/share/html/Elements/SelectStatus')
| -rwxr-xr-x | rt/share/html/Elements/SelectStatus | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rt/share/html/Elements/SelectStatus b/rt/share/html/Elements/SelectStatus index 7aa7aa528..5718a2a9d 100755 --- a/rt/share/html/Elements/SelectStatus +++ b/rt/share/html/Elements/SelectStatus @@ -45,7 +45,8 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} -<select name="<%$Name%>"> +% my $onchange_attr = $onchange ? " onchange=\"$onchange\"" : ''; +<select id="<%$Name%>" name="<%$Name%>"<% $onchange_attr |n%>> %if ($DefaultValue) { <option value=""<% !$Default && qq[ selected="selected"] |n %>><%$DefaultLabel%></option> %} @@ -64,4 +65,5 @@ $Default => '' $SkipDeleted => 0 $DefaultValue => 1 $DefaultLabel => "-" +$onchange => '' </%ARGS> |
