summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorreed%reedloden.com <>2006-12-27 03:53:15 +0100
committerreed%reedloden.com <>2006-12-27 03:53:15 +0100
commit32b134b652d94d89ffca1b84f812c7b51555459e (patch)
tree1c9f939c56baaae8ece480986f14691b04f3b880 /template
parent2458ce8d325c692254fbd5d45f610e9c37f685b2 (diff)
downloadbugzilla-32b134b652d94d89ffca1b84f812c7b51555459e.tar.gz
bugzilla-32b134b652d94d89ffca1b84f812c7b51555459e.tar.xz
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.tmpl2
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 %]"