diff options
| author | mark <mark> | 2011-08-23 21:46:34 +0000 |
|---|---|---|
| committer | mark <mark> | 2011-08-23 21:46:34 +0000 |
| commit | ab8aef9ec21df4b149f39cd24c9c5f3542dd2e3e (patch) | |
| tree | ceaa135796c9d158e12f8ce7b3c55ad4df2ab774 /rt/share/html/Elements | |
| parent | b431ece7b4a71aa5771f44393da582692f668817 (diff) | |
RT future ticket resolve, #13853
Diffstat (limited to 'rt/share/html/Elements')
| -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> |
