// Fixed #PSTEST-445

This commit is contained in:
bMancone
2012-01-17 15:06:02 +00:00
parent 1f8526e440
commit d0992b1604
@@ -237,7 +237,7 @@
action : 'searchProduct',
},
parse: function(data) {
if (data == null)
if (data == null || data == 'undefined')
return [];
var res = $.map(data, function(row) {
// filter the data to chaeck if the product is already added to the order