Bug 304542: Focus/Select forms with javascript when editting milestones - Patch by GavinS <bugzilla@chimpychompy.org> r=wurblzap a=justdave

This commit is contained in:
lpsolit%gmail.com 2005-08-23 12:39:17 +00:00
Родитель 986c2494a0
Коммит 61447bc9e5
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -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>

Просмотреть файл

@ -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>