diff --git a/view/admin.php b/view/admin.php index d23bcc8..b1ac5ae 100644 --- a/view/admin.php +++ b/view/admin.php @@ -98,7 +98,7 @@
- Authentification + [] Authentification @@ -120,6 +120,8 @@ var aSubmit = document.getElementById('admin-submit'); var errBox = document.getElementById('err-box'); + aName.focus(); + /* [1] Gestion de l'évènement =========================================================*/ diff --git a/view/warehouse.php b/view/warehouse.php index 4d4f7ab..b62caeb 100644 --- a/view/warehouse.php +++ b/view/warehouse.php @@ -120,6 +120,7 @@ var wSubmit = document.getElementById('warehouse-submit'); var errBox = document.getElementById('err-box'); + wName.focus(); /* [1] Gestion de l'évènement =========================================================*/