diff options
author | reed%reedloden.com <> | 2006-12-27 02:53:15 +0000 |
---|---|---|
committer | reed%reedloden.com <> | 2006-12-27 02:53:15 +0000 |
commit | 32b134b652d94d89ffca1b84f812c7b51555459e (patch) | |
tree | 1c9f939c56baaae8ece480986f14691b04f3b880 /template | |
parent | 2458ce8d325c692254fbd5d45f610e9c37f685b2 (diff) | |
download | bugs-32b134b652d94d89ffca1b84f812c7b51555459e.tar bugs-32b134b652d94d89ffca1b84f812c7b51555459e.tar.gz bugs-32b134b652d94d89ffca1b84f812c7b51555459e.tar.bz2 bugs-32b134b652d94d89ffca1b84f812c7b51555459e.tar.xz bugs-32b134b652d94d89ffca1b84f812c7b51555459e.zip |
Bug 353528 - "<select> fields with just one value shouldn't appear editable" [p=reed r=LpSolit a=justdave]
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 749cb8678..fb9e902f3 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -793,7 +793,7 @@ [% BLOCK select %] <td> - [% IF bug.check_can_change_field(selname, 0, 1) %] + [% IF bug.check_can_change_field(selname, 0, 1) AND bug.choices.${selname}.size > 1 %] <select id="[% selname %]" name="[% selname %]"> [% FOREACH x = bug.choices.${selname} %] <option value="[% x FILTER html %]" |