summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin')
-rw-r--r--template/en/default/admin/flag-type/list.html.tmpl4
1 files changed, 2 insertions, 2 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>