diff options
-rw-r--r-- | template/en/default/bug/field.html.tmpl | 5 |
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 %]> |