From 14b6a74b2d10120bf9b95c574dc35724028fd93f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Fri, 18 Sep 2015 14:11:06 +0200 Subject: [PATCH] Fix javascript error on POS --- htdocs/cashdesk/javascript/dhtml.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/cashdesk/javascript/dhtml.js b/htdocs/cashdesk/javascript/dhtml.js index a2af98d65a8..7f5df55a767 100644 --- a/htdocs/cashdesk/javascript/dhtml.js +++ b/htdocs/cashdesk/javascript/dhtml.js @@ -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); -- GitLab