diff --git a/Js/fonctions.js b/Js/fonctions.js index e0c6470..c561366 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -3215,6 +3215,11 @@ 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; @@ -3243,6 +3248,8 @@ function ajax_maj_qte_medicament(idMedicament, quantite, controle) }, complete: function() { //controle.focus(); + $("#ancmdp").focus(); + document.getElementById(V_idControle).focus(); } }); } @@ -24418,9 +24425,6 @@ function enregistrerdemandederogationbareme(codeDerogation, libelleDerogation, c function ajax_maj_duree_medicament(idMedicament, duree, controle) { - alert(controle.id); - alert(controle.name); - duree=duree.replace(",","."); controle.value=duree; diff --git a/Vue/Prescription/index.php b/Vue/Prescription/index.php index c2c9236..b7307ea 100755 --- a/Vue/Prescription/index.php +++ b/Vue/Prescription/index.php @@ -522,7 +522,7 @@