// Fixed #PSTEST-445

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12483 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-01-17 15:06:02 +00:00
parent 6909d99bc3
commit 5ab0595f34
@@ -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