FIX Clean the + of categories on the product view only in POS module

This commit is contained in:
Laurent Destailleur 2019-10-20 15:24:52 +02:00
parent 49c101bb77
commit f999430fd3

View File

@ -419,7 +419,7 @@ function New() {
function Search2() {
console.log("Search2 Call ajax search to replace products");
pageproducts=0;
jQuery(".catwatermark").hide();
jQuery(".wrapper2 .catwatermark").hide();
$.getJSON('<?php echo DOL_URL_ROOT ?>/takepos/ajax/ajax.php?action=search&term='+$('#search').val(), function(data) {
for (i = 0; i < <?php echo $MAXPRODUCT ?>; i++) {
if (typeof (data[i]) == "undefined"){