diff options
author | Alexander Tereschenko <aleksandr.v.tereschenko@linux.intel.com> | 2012-12-16 14:08:49 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-12-16 14:08:49 +0100 |
commit | 1467b172520e0a3a79ce1137099b4621d1bbb0be (patch) | |
tree | 5db59f29dfb7cf717cb93ac37cc1225472b9438e /template/en/default | |
parent | 317c9afd691564304f448066b961554eb966039a (diff) | |
download | bugzilla-1467b172520e0a3a79ce1137099b4621d1bbb0be.tar.gz bugzilla-1467b172520e0a3a79ce1137099b4621d1bbb0be.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')
-rw-r--r-- | template/en/default/bug/field-events.js.tmpl | 1 |
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 f1d5afd32..3133c159b 100644 --- a/template/en/default/bug/field-events.js.tmpl +++ b/template/en/default/bug/field-events.js.tmpl @@ -55,6 +55,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 %] |