From 8413e7cebea8f853aea925b48d313fd033a2ae16 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 24 Jun 2026 14:09:25 +0000 Subject: [PATCH] a --- Js/fonctions.js | 6 ++---- Vue/gabarit.php | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index a47e142..8231cee 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -3215,11 +3215,8 @@ function ajouter_medicament() { function ajax_maj_qte_medicament(idMedicament, quantite, controle) { - // V_idControle = controle.id; V_idControle = "posologie"+idMedicament; - alert(V_idControle); - quantite=quantite.replace(",","."); controle.value=quantite; @@ -3249,9 +3246,10 @@ function ajax_maj_qte_medicament(idMedicament, quantite, controle) }, complete: function() { //controle.focus(); - document.getElementById(V_idControle).focus(); v_controle_val = $("#"+V_idControle).val(); alert("v_controle_val => "+v_controle_val); + document.getElementById(V_idControle).focus(); + $("#"+V_idControle).focus(); } }); } diff --git a/Vue/gabarit.php b/Vue/gabarit.php index b2ae292..6999afc 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -892,7 +892,7 @@ - +