summaryrefslogtreecommitdiffstats
path: root/template/en/default/request
diff options
context:
space:
mode:
authormyk%mozilla.org <>2004-12-14 11:29:56 +0100
committermyk%mozilla.org <>2004-12-14 11:29:56 +0100
commit5ae95ca8b945cec145387a2ef764ec46213e1818 (patch)
tree8d0ff78c4d9187fba7fc5c375971ce2f0eb1257e /template/en/default/request
parentc530417076682f22af6aa1be23b25cc3b8b8fe88 (diff)
downloadbugzilla-5ae95ca8b945cec145387a2ef764ec46213e1818.tar.gz
bugzilla-5ae95ca8b945cec145387a2ef764ec46213e1818.tar.xz
Fix for bug 241814: properly trim component fields according to product selection in the request queue, flag type editing, and anywhere else that uses the same code; r=vladd, a=justdave
Diffstat (limited to 'template/en/default/request')
-rw-r--r--template/en/default/request/queue.html.tmpl8
1 files changed, 3 insertions, 5 deletions
diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl
index 5a626b183..fbfa94d25 100644
--- a/template/en/default/request/queue.html.tmpl
+++ b/template/en/default/request/queue.html.tmpl
@@ -24,7 +24,7 @@
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]
-[%# The javascript and header_html blocks get used in header.html.tmpl. %]
+[%# The javascript block gets used in header.html.tmpl. %]
[% javascript = BLOCK %]
var usetms = 0; // do we have target milestone?
var first_load = 1; // is this the first time we load the page?
@@ -36,10 +36,6 @@
[% END %]
[% END %]
-[% header_html = BLOCK %]
- <script language="JavaScript" type="text/javascript" src="productmenu.js"></script>
-[% END %]
-
[% filter_form = BLOCK %]
<form action="request.cgi" method="get">
<input type="hidden" name="action" value="queue">
@@ -133,6 +129,8 @@
table.requests th { text-align: left; }
table#filter th { text-align: right; }
"
+ onload="selectProduct(document.forms[0], 'product', 'component', 'Any');"
+ javascript_urls=["productmenu.js"]
%]
[% IF debug %]