FIX add only one product if no key code defined
This commit is contained in:
parent
31e59bbe87
commit
e4608a1ee5
@ -473,7 +473,7 @@ function Search2(keyCodeForEnter) {
|
|||||||
$("#prodiv" + i).data("iscat", 0);
|
$("#prodiv" + i).data("iscat", 0);
|
||||||
}
|
}
|
||||||
}).always(function (data) {
|
}).always(function (data) {
|
||||||
if (data.length == 1) ClickProduct(0);
|
if ($('#search').val().length > 0 && data.length == 1) ClickProduct(0);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user