i18n and checkbox checked if rememberme activated

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400164 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-10-19 16:49:29 +00:00
parent 70b46f383c
commit 25bc7e6b5b
2 changed files with 2 additions and 0 deletions

View File

@ -214,6 +214,7 @@ user.details.updated=details updated.
user.delete.message=The following user {0} will be deleted
password.reset=Reset Password
password.reset.success=Password reset.
rememberme=Remember Me
#roles management
roles.management.header=Roles Management

View File

@ -354,6 +354,7 @@ function(jquery,utils,i18n,jqueryValidate,ko,koSimpleGrid) {
if(user.rememberme){
$("#user-login-form-username" ).val(user.username);
$("#user-login-form-password" ).val(user.password);
$("#user-login-form-rememberme" ).attr("checked","true");
}
} else {
$.log("user not in cookie");