NEW add product if only one found

This commit is contained in:
VESSILLER 2020-03-10 14:18:39 +01:00
parent cef2685368
commit 31e59bbe87

View File

@ -473,7 +473,7 @@ function Search2(keyCodeForEnter) {
$("#prodiv" + i).data("iscat", 0);
}
}).always(function (data) {
if (eventKeyCode == keyCodeForEnter && data.length == 1) ClickProduct(0);
if (data.length == 1) ClickProduct(0);
});
}
}