diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2015-08-26 23:29:51 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2015-08-26 23:29:51 +0200 |
commit | 246c04a3b156d5c9c2c4fedd9ba55c2037b66586 (patch) | |
tree | 12115dca8e26c27f96f72516d777097083ab84f1 /template/en/default/bug/edit.html.tmpl | |
parent | 7a997794eb6d39027d2e8704773017793d8e51b9 (diff) | |
download | bugzilla-246c04a3b156d5c9c2c4fedd9ba55c2037b66586.tar.gz bugzilla-246c04a3b156d5c9c2c4fedd9ba55c2037b66586.tar.xz |
Bug 1196969: Custom fields whose visibility depend on the product are not displayed/hidden correctly
r=gerv a=sgreen
Diffstat (limited to 'template/en/default/bug/edit.html.tmpl')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index f21e840ba..7f2b741f6 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -230,20 +230,12 @@ [%# PRODUCT #%] [%#############%] <tr id="field_tablerow_product"> - [% INCLUDE "bug/field-label.html.tmpl" - field = bug_fields.product - desc_url = 'describecomponents.cgi' - value = bug.product - %] - <td class="field_value" id="field_container_product"> - [% INCLUDE "global/product-select.html.tmpl" - id => "product" - name => "product" - value => bug.product - products => bug.choices.product - isselect => bug.check_can_change_field('product', 0, 1) - %] - </td> + [% INCLUDE bug/field.html.tmpl + bug = bug, field = bug_fields.product, value = bug.product + override_legal_values = bug.choices.product + desc_url = "describecomponents.cgi" + editable = bug.check_can_change_field('product', 0, 1) + %] </tr> [%# Classification is here so that it can be used in value controllers |