diff options
author | Christian Pointner <equinox@helsinki.at> | 2014-09-22 11:33:22 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2014-09-22 11:33:22 (GMT) |
commit | c6657a7f19fb97fc6b84e8b6eb37152f966e0848 (patch) | |
tree | 47a0ddfcacbb48cca09f78c2abd353d646c938cb /js/auth.js | |
parent | f83ad4964258f54b67628cb3d65702d862dd3272 (diff) |
added alertbox for main window
Diffstat (limited to 'js/auth.js')
-rw-r--r-- | js/auth.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ function auth_loginSuccess(data) { $('#loginbox').slideUp(); $('#mainwindow').fadeIn(); } else { - alertbox.error("Fehler beim Login", data.errorstring); + alertbox.error('loginbox', "Fehler beim Login", data.errorstring); auth_cleanup(); } } @@ -25,7 +25,7 @@ function auth_loginError(req, status, error) { if(req.status == 401) { message = "Benutzer und/oder Passwort sind falsch!"; } - alertbox.error("Fehler beim Login", message); + alertbox.error('loginbox', "Fehler beim Login", message); $("#password").val(''); } |