forked from Wavyzz/dolibarr
Fix javascript error on POS
This commit is contained in:
@@ -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
|
// 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 (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);
|
afficheDonnees (aCible, texte);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user