From af4fd3e1388f5140dd367719b2f5c1344acf79dc Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 24 Jun 2026 13:55:14 +0000 Subject: [PATCH] a --- Js/fonctions.js | 4 ++-- Vue/gabarit.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index c561366..9f2be32 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -3219,7 +3219,7 @@ function ajax_maj_qte_medicament(idMedicament, quantite, controle) V_idControle = "posologie"+idMedicament; alert(V_idControle); - + quantite=quantite.replace(",","."); controle.value=quantite; @@ -3243,12 +3243,12 @@ function ajax_maj_qte_medicament(idMedicament, quantite, controle) data: donnees, success: function(data) { $("#medicaments").html(data); + document.getElementById(V_idControle).focus(); }, error: function(data) { }, complete: function() { //controle.focus(); - $("#ancmdp").focus(); document.getElementById(V_idControle).focus(); } }); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 22c1bbc..7f62b4a 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -892,7 +892,7 @@ - +