From 16d8e13b8b63c4cb24467c40bc558619018bd99a Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 24 Jun 2026 22:20:19 +0000 Subject: [PATCH] a --- Js/fonctions.js | 7 +------ Vue/Ajaxdetailprescription/index.php | 6 +++--- Vue/gabarit.php | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 8b3909f..17fb52f 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -3215,8 +3215,6 @@ function ajouter_medicament() { function ajax_maj_qte_medicament(idMedicament, quantite, controle) { - V_idControle = "quantite"+idMedicament; - quantite=quantite.replace(",","."); controle.value=quantite; @@ -3233,8 +3231,6 @@ function ajax_maj_qte_medicament(idMedicament, quantite, controle) } donnees = 'idMedicament='+idMedicament+"&quantite="+quantite; - donnees += "&idControle="+V_idControle; - donnees += "&controle=quantite"; $.ajax({ url: $("#racineWeb").val()+"Ajaxdetailprescription/majquantite/", @@ -3242,9 +3238,8 @@ function ajax_maj_qte_medicament(idMedicament, quantite, controle) data: donnees, success: function(data) { $("#medicaments").html(data); - var input = document.getElementById("quantite" + idMedicament); + var input = document.getElementById("posologie" + idMedicament); if (input) { - alert("O fait le focus"); input.focus(); input.select(); } diff --git a/Vue/Ajaxdetailprescription/index.php b/Vue/Ajaxdetailprescription/index.php index 6f4ba01..a4b8062 100755 --- a/Vue/Ajaxdetailprescription/index.php +++ b/Vue/Ajaxdetailprescription/index.php @@ -170,7 +170,7 @@ - @@ -197,14 +197,14 @@ - - diff --git a/Vue/gabarit.php b/Vue/gabarit.php index fa46b2d..39014fe 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -892,7 +892,7 @@ - +