summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-05-21 10:35:39 +0200
committerlpsolit%gmail.com <>2009-05-21 10:35:39 +0200
commit8eed4a2c9dddf6f03090ca516e6eca6c79c2a05a (patch)
treeb4256cfac62d0725e4fb031ef5fb24844f805cb9 /template/en
parente39a1db4115cfd721fa65c746e7699e79cda87ae (diff)
downloadbugzilla-8eed4a2c9dddf6f03090ca516e6eca6c79c2a05a.tar.gz
bugzilla-8eed4a2c9dddf6f03090ca516e6eca6c79c2a05a.tar.xz
Bug 493826: Disabled products show up in the pick list for existing bugs - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/field.html.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl
index 7a514e888..68cc82a77 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -138,8 +138,9 @@
# hidden %]
[% IF value.contains(legal_value.name).size %]
selected="selected"
- [% ELSIF control_field && control_value
- && !bug.${control_field.name}.contains(control_value.name)
+ [% ELSIF (control_field && control_value
+ && !bug.${control_field.name}.contains(control_value.name))
+ || (field.name == "product" && legal_value.disallow_new)
%]
class="bz_hidden_option" disabled="disabled"
[% END %]>