login redirects back

This commit is contained in:
Baris Usakli
2013-09-24 14:56:51 -04:00
parent 8f04a136c8
commit 83d5a84edd
6 changed files with 143 additions and 122 deletions

View File

@@ -32,7 +32,12 @@
$('#login-error-notify').show();
} else {
$('#login-error-notify').hide();
window.location.replace(RELATIVE_PATH + "/?loggedin");
//window.location.replace(RELATIVE_PATH + "/?loggedin");
history.go(-1);
//setTimeout(function(){
app.loadConfig();
//}, 500);
//socket.emit('api:updateHeader');
}
},
error: function(data, textStatus, jqXHR) {