Bug pour le focus au chargement de la page de login
This commit is contained in:
parent
87c96e585b
commit
7607486028
|
@ -139,11 +139,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;
|
||||
|
|
Loading…
Reference in New Issue