Get rid of inline javascript in login form.

This commit is contained in:
Michal Čihař
2010-07-21 09:21:58 +02:00
parent 5908ab72bc
commit eeae8bec21
2 changed files with 14 additions and 23 deletions

View File

@@ -1726,5 +1726,12 @@ $(document).ready(function(){
return false;
});
$('#sqlquery').focus();
if ($('#input_username')) {
if ($('#input_username').val() == '') {
$('#input_username').focus();
} else {
$('#input_password').focus();
}
}
});