From cbacc90dd9271e157679a8f31011c621964d74eb Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 8 Jul 2016 16:03:32 +0200 Subject: [PATCH] minmod --- view/admin.php | 4 +++- view/warehouse.php | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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 =========================================================*/