Add focus on email or new password fields. Also updated validation message for password length when creating a new password NIHVIVO-227

This commit is contained in:
nac26 2010-07-13 14:03:24 +00:00
parent 4b2da00daf
commit bb08bef23f
4 changed files with 11 additions and 10 deletions

View file

@ -1,10 +1,11 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
$(document).ready(function(){
$("#formLogin").removeClass("hidden");
// login form is hidden by default; use JavaScript to reveal
$("#formLogin").removeClass("hidden");
// focus on email or newpassword field
$('.focus').focus();
});