summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-04-20 12:52:07 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-08-15 19:46:53 +0200
commit34345c7fd0e12e0a3cad4f247d68bca90d8bb681 (patch)
tree4306cfb8114e2644163b224ff97d6a9375259681 /js
parent588b8b41ebca48b152d3298e1d48d7e318f0370c (diff)
downloadwvs-vplan-34345c7fd0e12e0a3cad4f247d68bca90d8bb681.tar.gz
wvs-vplan-34345c7fd0e12e0a3cad4f247d68bca90d8bb681.zip
verbessere Login
Diffstat (limited to 'js')
-rw-r--r--js/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/index.js b/js/index.js
index d3934af..4719ee3 100644
--- a/js/index.js
+++ b/js/index.js
@@ -223,7 +223,6 @@ function loggedin(resulthtml){
function sendlogin(username, password){
var params = 'username=' + username + '&password=' + password;
-
$('#error_noconn').hide('fast');
$('#error_passwd').hide('fast');
@@ -272,8 +271,10 @@ function login(){
if(userdata != null){
sendlogin(userdata[0], userdata[1]);
+ $('#loginpopup').popup('close');
return 1;
}else{
+ $('#lnklogin').click();
return 0;
}
}