]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 341539: Component list not filtered when a product selected on Request Queue...
authorlpsolit%gmail.com <>
Fri, 31 Jul 2009 15:59:41 +0000 (15:59 +0000)
committerlpsolit%gmail.com <>
Fri, 31 Jul 2009 15:59:41 +0000 (15:59 +0000)
template/en/default/admin/flag-type/list.html.tmpl
template/en/default/request/queue.html.tmpl

index 497d3b3d5f46cf1345a8f13695e9f8312b24abb3..220db8900989eed7f8b83883f942c64ae70dbccf 100644 (file)
@@ -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>
index 8dd0f0400eb9a0a23cb233068acea0f7e5d7eaa5..aa555417cce327ea51856cb9e98792cfdcd38550 100644 (file)
@@ -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">