From: David Lawrence Date: Mon, 25 Apr 2011 10:10:29 +0000 (-0400) Subject: Bug 653104 - The description of components in enter_bug.cgi is out of sync when some... X-Git-Tag: bugzilla-4.1.3~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e87fb5db0c318644c892210eb4287b09280e014;p=thirdparty%2Fbugzilla.git Bug 653104 - The description of components in enter_bug.cgi is out of sync when some components are disabled r/a=LpSolit --- diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 2f2f18b57d..29d79863f0 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -53,6 +53,7 @@ var flags = new Array([% product.components.size %]); [% END %] [% count = 0 %] [%- FOREACH c = product.components %] + [% NEXT IF NOT c.is_active %] components[[% count %]] = "[% c.name FILTER js %]"; comp_desc[[% count %]] = "[% c.description FILTER html_light FILTER js %]"; initialowners[[% count %]] = "[% c.default_assignee.login FILTER js %]";