diff options
author | Christian Pointner <equinox@helsinki.at> | 2014-09-18 13:51:05 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2014-09-18 13:51:05 (GMT) |
commit | 2783f60fe9d8937fa3f4ae52527441a6751d6427 (patch) | |
tree | df4803a39514e737e50c42473bce52227d16902d /index.html | |
parent | d5365dd5bf75797157afba90598a5ccf4ef7291f (diff) |
improved focus and form values after errors
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -49,8 +49,10 @@ alertbox.error("Fehler beim Login", data.errorstring); sessionStorage.removeItem("username"); delete username; + $("#username").val('').focus(); sessionStorage.removeItem("token"); delete token; + $("#password").val(''); } } |