From: lpsolit%gmail.com <> Date: Fri, 31 Jul 2009 15:59:41 +0000 (+0000) Subject: Bug 341539: Component list not filtered when a product selected on Request Queue... X-Git-Tag: bugzilla-3.4.1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e092598116ec6ef08399358680d80a8ae828716a;p=thirdparty%2Fbugzilla.git Bug 341539: Component list not filtered when a product selected on Request Queue or Edit Flag Types - Patch by Frédéric Buclin r=ghendricks a=LpSolit --- diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl index 497d3b3d5f..220db89009 100644 --- a/template/en/default/admin/flag-type/list.html.tmpl +++ b/template/en/default/admin/flag-type/list.html.tmpl @@ -31,7 +31,7 @@ .inactive { color: #787878; } .multiplicable { display: block; } " - onload="var f = document.forms[0]; selectProduct(f.product, f.component, null, null, '__All__');" + onload="var f = document.flagtype_form; selectProduct(f.product, f.component, null, null, '__All__');" javascript_urls=["js/productform.js"] doc_section = "flags-overview.html#flag-types" %] @@ -56,7 +56,7 @@ which are available to at least one component of the product are shown.

-
+ diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl index 8dd0f0400e..aa555417cc 100644 --- a/template/en/default/request/queue.html.tmpl +++ b/template/en/default/request/queue.html.tmpl @@ -31,7 +31,7 @@ table.requests th { text-align: left; } table#filtering th { text-align: right; } " - onload="var f = document.forms[0]; selectProduct(f.product, f.component, null, null, 'Any');" + onload="var f = document.request_form; selectProduct(f.product, f.component, null, null, 'Any');" javascript_urls=["js/productform.js"] %] @@ -42,7 +42,7 @@ When you are logged out, all pending requests that are not restricted to some group are shown by default.

- +