summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorAlexander Tereschenko <aleksandr.v.tereschenko@linux.intel.com>2012-12-16 14:06:17 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-12-16 14:06:17 +0100
commita781df59bad6432f021326a2e589a07dae81050c (patch)
tree34c3af1f0f49df49f2195a0bd7cfb1fb3698efcd /template/en/default/bug
parent5241f8d7dbe3d5024a60d7a76200a909b3ba4f22 (diff)
downloadbugzilla-a781df59bad6432f021326a2e589a07dae81050c.tar.gz
bugzilla-a781df59bad6432f021326a2e589a07dae81050c.tar.xz
Bug 806809: Custom field values with "Enabled for bugs" set to "No" break the values list if the field's values visibility depends on another field values
r/a=LpSolit
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/field-events.js.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/en/default/bug/field-events.js.tmpl b/template/en/default/bug/field-events.js.tmpl
index d37f4257c..8ec51a441 100644
--- a/template/en/default/bug/field-events.js.tmpl
+++ b/template/en/default/bug/field-events.js.tmpl
@@ -44,6 +44,7 @@
[% FOREACH controlled_field = legal_value.controlled_values.keys %]
[% SET cont_ids = [] %]
[% FOREACH val = legal_value.controlled_values.$controlled_field %]
+ [% NEXT IF !val.is_active %]
[% cont_ids.push(val.id) %]
[% END %]
[% NEXT IF !cont_ids.size %]