*/
loginBox=function(){
-
-
if (window.modalLoginWindow!=null){
window.modalLoginWindow=null;
}
* @param result
*/
var successLoginCallbackFn=function(result){
+
var logged = false;
if (result == null) {
logged = false;
}
clearForm("#user-login-form");
decorateMenuWithKarma(user);
+
return;
}
var modalLoginErrMsg=$("#modal-login-err-message");
var completeLoginCallbackFn=function(){
$("#modal-login-ok").removeAttr("disabled");
$("#small-spinner").remove();
+ // force current screen reload to consider user karma
+ window.sammyArchivaApplication.refresh();
}
resetPasswordForm=function(key){
login=function(){
$.log("user.js#login");
$("#modal-login-err-message").html("");
- screenChange();
+
var valid = $("#user-login-form").valid();
if (!valid) {
return;