summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/create
diff options
context:
space:
mode:
authorDavid Lawrence <dlawrence@mozilla.com>2011-04-25 12:10:29 +0200
committerDavid Lawrence <dlawrence@mozilla.com>2011-04-25 12:10:29 +0200
commit7e87fb5db0c318644c892210eb4287b09280e014 (patch)
treedcc29618d6d96574fdb0f1c5fa8d3d31e0ba516a /template/en/default/bug/create
parent42aa2034747b7847409c91bfd79f7e976e220801 (diff)
downloadbugzilla-7e87fb5db0c318644c892210eb4287b09280e014.tar.gz
bugzilla-7e87fb5db0c318644c892210eb4287b09280e014.tar.xz
Bug 653104 - The description of components in enter_bug.cgi is out of sync when some components are disabled
r/a=LpSolit
Diffstat (limited to 'template/en/default/bug/create')
-rw-r--r--template/en/default/bug/create/create.html.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 2f2f18b57..29d79863f 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 %]";