diff options
author | myk%mozilla.org <> | 2004-12-14 11:29:56 +0100 |
---|---|---|
committer | myk%mozilla.org <> | 2004-12-14 11:29:56 +0100 |
commit | 5ae95ca8b945cec145387a2ef764ec46213e1818 (patch) | |
tree | 8d0ff78c4d9187fba7fc5c375971ce2f0eb1257e /template/en/default/admin | |
parent | c530417076682f22af6aa1be23b25cc3b8b8fe88 (diff) | |
download | bugzilla-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/admin')
-rw-r--r-- | template/en/default/admin/flag-type/edit.html.tmpl | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl index 253a310ac..c735ac33d 100644 --- a/template/en/default/admin/flag-type/edit.html.tmpl +++ b/template/en/default/admin/flag-type/edit.html.tmpl @@ -21,7 +21,7 @@ [% PROCESS global/variables.none.tmpl %] -[%# 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? @@ -33,10 +33,6 @@ [% END %] [% END %] -[% header_html = BLOCK %] - <script language="JavaScript" type="text/javascript" src="productmenu.js"></script> -[% END %] - [% IF type.target_type == "bug" %] [% title = BLOCK %]Create Flag Type for [% terms.Bugs %][% END %] [% typeLabelLowerPlural = BLOCK %][% terms.bugs %][% END %] @@ -59,7 +55,8 @@ table#form th { text-align: right; vertical-align: baseline; white-space: nowrap; } table#form td { text-align: left; vertical-align: baseline; } " - onload="selectProduct(forms[0], 'product', 'component', '__Any__');" + onload="selectProduct(document.forms[0], 'product', 'component', '__Any__');" + javascript_urls=["productmenu.js"] %] <form method="post" action="editflagtypes.cgi"> |