mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 18:18:18 +01:00
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
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user