summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/admin/milestones/create.html.tmpl3
-rw-r--r--template/en/default/admin/milestones/edit.html.tmpl3
2 files changed, 4 insertions, 2 deletions
diff --git a/template/en/default/admin/milestones/create.html.tmpl b/template/en/default/admin/milestones/create.html.tmpl
index ac707c195..d8779dd54 100644
--- a/template/en/default/admin/milestones/create.html.tmpl
+++ b/template/en/default/admin/milestones/create.html.tmpl
@@ -29,9 +29,10 @@
[% PROCESS global/header.html.tmpl
title = title
h2 = h2
+ onload = "document.forms['f'].milestone.focus()"
%]
-<form method="post" action="editmilestones.cgi">
+<form name="f" method="post" action="editmilestones.cgi">
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<th align="right"><label for="milestone">Milestone:</label></th>
diff --git a/template/en/default/admin/milestones/edit.html.tmpl b/template/en/default/admin/milestones/edit.html.tmpl
index 417a69276..f49cacf4a 100644
--- a/template/en/default/admin/milestones/edit.html.tmpl
+++ b/template/en/default/admin/milestones/edit.html.tmpl
@@ -33,9 +33,10 @@
[%- product FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
+ onload = "document.forms['f'].milestone.select()"
%]
-<form method="post" action="editmilestones.cgi">
+<form name="f" method="post" action="editmilestones.cgi">
<table border="0" cellpadding="4" cellspacing="0">
<tr>