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 @@ - +