Commit 3f32183f authored by Alan Garcia's avatar Alan Garcia

Bug sur le focus au chargement de la page de login

parent b7e10ba6
......@@ -135,11 +135,11 @@ if (!$charset) $charset="UTF-8";
</div>
<script>
document.forms['loginform'].username.focus();
$('#username').focus();
function logmein(){
if ( $('#username').val() =='' || $('#password').val() =='' ) {
alert('<?php __("Need a login and a password"); ?>');
alert("<?php __("Need a login and a password"); ?>");
return false;
}
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment