From 1467b172520e0a3a79ce1137099b4621d1bbb0be Mon Sep 17 00:00:00 2001 From: Alexander Tereschenko Date: Sun, 16 Dec 2012 14:08:49 +0100 Subject: 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 --- template/en/default/bug/field-events.js.tmpl | 1 + 1 file changed, 1 insertion(+) 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 %] -- cgit v1.2.3-24-g4f1b