From ebcef76950eaaf8f9c571771964c88238e36f06b Mon Sep 17 00:00:00 2001 From: Iziram Date: Wed, 29 May 2024 17:30:07 +0200 Subject: [PATCH] =?UTF-8?q?Assiduit=C3=A9=20:=20signal=5Fassiduites=5Fhebd?= =?UTF-8?q?o=20:=20choix=20heures=20init=20defaut=20closes=20#911?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/templates/assiduites/pages/signal_assiduites_hebdo.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/assiduites/pages/signal_assiduites_hebdo.j2 b/app/templates/assiduites/pages/signal_assiduites_hebdo.j2 index eac6434f8..8422b3b2f 100644 --- a/app/templates/assiduites/pages/signal_assiduites_hebdo.j2 +++ b/app/templates/assiduites/pages/signal_assiduites_hebdo.j2 @@ -718,8 +718,8 @@ function openModal(morning = true){ let time2 = $("#time2"); // Réinitialiser les champs - time1.val(""); - time2.val(""); + time1.val(morning ? temps.matin.debut : temps.apresmidi.debut); + time2.val(morning ? temps.matin.fin : temps.apresmidi.fin); // Définir l'action du bouton de confirmation