]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 653104 - The description of components in enter_bug.cgi is out of sync when some...
authorDavid Lawrence <dlawrence@mozilla.com>
Mon, 25 Apr 2011 10:10:29 +0000 (06:10 -0400)
committerDavid Lawrence <dlawrence@mozilla.com>
Mon, 25 Apr 2011 10:10:29 +0000 (06:10 -0400)
r/a=LpSolit

template/en/default/bug/create/create.html.tmpl

index 2f2f18b57d309dc5f6458925b6503fd49d5a9e42..29d79863f01ebe0851dab97d239c0b651571e986 100644 (file)
@@ -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 %]";