Commit 0f7677a4 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 304542: Focus/Select forms with javascript when editting milestones - Patch…

Bug 304542: Focus/Select forms with javascript when editting milestones - Patch by GavinS <bugzilla@chimpychompy.org> r=wurblzap a=justdave
parent c48c345e
...@@ -29,9 +29,10 @@ ...@@ -29,9 +29,10 @@
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title title = title
h2 = h2 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"> <table border="0" cellpadding="4" cellspacing="0">
<tr> <tr>
<th align="right"><label for="milestone">Milestone:</label></th> <th align="right"><label for="milestone">Milestone:</label></th>
......
...@@ -33,9 +33,10 @@ ...@@ -33,9 +33,10 @@
[%- product FILTER html %]'[% END %] [%- product FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl [% PROCESS global/header.html.tmpl
title = title 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"> <table border="0" cellpadding="4" cellspacing="0">
<tr> <tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment