From 34345c7fd0e12e0a3cad4f247d68bca90d8bb681 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 20 Apr 2014 12:52:07 +0200 Subject: verbessere Login --- js/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js') 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; } } -- cgit v1.3.1