diff rhodecode/templates/register.html @ 1202:eef9e273347a beta

added focus to login register password reminder forms
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 03 Apr 2011 12:43:29 +0200
parents 41241617a7a3
children aaec08ad9daf
line wrap: on
line diff
--- a/rhodecode/templates/register.html	Sun Apr 03 11:44:19 2011 +0200
+++ b/rhodecode/templates/register.html	Sun Apr 03 12:43:29 2011 +0200
@@ -82,6 +82,11 @@
 	    	</div>
 	    </div>
 	    ${h.end_form()}
+        <script type="text/javascript">
+        YUE.onDOMReady(function(){
+            YUD.get('username').focus();
+        })
+        </script>	    
 	</div>    
  </div>