summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-07-31 17:57:22 +0200
committerlpsolit%gmail.com <>2009-07-31 17:57:22 +0200
commitcc4bb4cb59b51fd85fdd1c1f77ed73039d01fbb5 (patch)
treeed74538b3fc0f0bc424fe13d0a228e9c8ad19307 /template
parentcdddb9a9f8cf42a2dd517020f93b93486ad33896 (diff)
downloadbugzilla-cc4bb4cb59b51fd85fdd1c1f77ed73039d01fbb5.tar.gz
bugzilla-cc4bb4cb59b51fd85fdd1c1f77ed73039d01fbb5.tar.xz
Bug 341539: Component list not filtered when a product selected on Request Queue or Edit Flag Types - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/flag-type/list.html.tmpl4
-rw-r--r--template/en/default/request/queue.html.tmpl4
2 files changed, 4 insertions, 4 deletions
diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl
index 497d3b3d5..220db8900 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.
</p>
-<form action="editflagtypes.cgi" method="get">
+<form id="flagtype_form" name="flagtype_form" action="editflagtypes.cgi" method="get">
<table>
<tr>
<th><label for="product">Product:</label></th>
diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl
index 8dd0f0400..aa555417c 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.
</p>
-<form action="request.cgi" method="get">
+<form id="request_form" name="request_form" action="request.cgi" method="get">
<input type="hidden" name="action" value="queue">
<table id="filtering">