Fix javascript error on POS

This commit is contained in:
Laurent Destailleur
2015-09-18 14:11:06 +02:00
parent 57521f628c
commit 14b6a74b2d

View File

@@ -60,10 +60,10 @@ function afficheDonnees(aId, aTexte) {
// aCible : id du bloc de destination; aCode : argument a passer a la page php chargee du traitement et de l'affichage
function verifResultat(aCible, aCode, iLimit = 1) {
function verifResultat(aCible, aCode, iLimit) {
if (aCode != '' && aCode.length >= iLimit) {
if (texte = file ('facturation_dhtml.php?code='+escape(aCode))) {
if (texte = file('facturation_dhtml.php?code='+escape(aCode))) {
afficheDonnees (aCible, texte);