a
This commit is contained in:
parent
8413e7cebe
commit
cc497cb135
|
|
@ -3245,11 +3245,7 @@ function ajax_maj_qte_medicament(idMedicament, quantite, controle)
|
|||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
//controle.focus();
|
||||
v_controle_val = $("#"+V_idControle).val();
|
||||
alert("v_controle_val => "+v_controle_val);
|
||||
document.getElementById(V_idControle).focus();
|
||||
$("#"+V_idControle).focus();
|
||||
// $("#"+V_idControle).focus();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@
|
|||
<td align='center' >
|
||||
<?php if ($livre!="1" && $bonCaduc!="1" && $ententePrealable!='1' && $ententePrealable!='9') : ?>
|
||||
<INPUT id="quantite<?= $idMedicament ?>" name="quantite<?= $idMedicament ?>" style='text-align:center' class="form-control" TYPE="text" value="<?= $this->nettoyer($detailprescription['quantite']) ?>"
|
||||
onChange="ajax_maj_qte_medicament('<?=$idMedicament?>', this.value, this);">
|
||||
onChange="ajax_maj_qte_medicament('<?=$idMedicament?>', this.value, this);;this.focus;">
|
||||
<?php else: ?>
|
||||
<INPUT style='text-align:center' class="form-control" TYPE="text" value="<?= $this->nettoyer($detailprescription['quantite']) ?>"
|
||||
disabled >
|
||||
|
|
|
|||
|
|
@ -495,7 +495,7 @@
|
|||
<td align='center' >
|
||||
<?php if ($livre!="1" && $bonCaduc!="1" && $ententePrealable!='1' && $ententePrealable!='9') : ?>
|
||||
<INPUT id="quantite<?= $idMedicament ?>" name="quantite<?= $idMedicament ?>" style='text-align:center' class="form-control" TYPE="text" value="<?= $this->nettoyer($detailprescription['quantite']) ?>"
|
||||
onChange="ajax_maj_qte_medicament('<?=$idMedicament?>', this.value, this);">
|
||||
onChange="ajax_maj_qte_medicament('<?=$idMedicament?>', this.value, this);this.focus;">
|
||||
<?php else: ?>
|
||||
<INPUT style='text-align:center' class="form-control" TYPE="text" value="<?= $this->nettoyer($detailprescription['quantite']) ?>"
|
||||
disabled >
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user