]> source.dussan.org Git - redmine.git/commitdiff
Login field automatically focused on login form
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2007 09:23:56 +0000 (09:23 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2007 09:23:56 +0000 (09:23 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@503 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/account/login.rhtml

index 73f6fe49ff1be90cbcb052559327162d2018b3d9..7148bdd7d23ec6d281646c10f33cffc64065d7c4 100644 (file)
@@ -11,6 +11,7 @@
 
 <p><center><input type="submit" name="login" value="<%=l(:button_login)%> &#187;" class="primary" /></center>
 <% end %>
+<%= javascript_tag "Form.Element.focus('login');" %>
 
 <br>
 <% links = []