// Fixed #PSTEST-445
This commit is contained in:
@@ -237,7 +237,7 @@
|
|||||||
action : 'searchProduct',
|
action : 'searchProduct',
|
||||||
},
|
},
|
||||||
parse: function(data) {
|
parse: function(data) {
|
||||||
if (data == null)
|
if (data == null || data == 'undefined')
|
||||||
return [];
|
return [];
|
||||||
var res = $.map(data, function(row) {
|
var res = $.map(data, function(row) {
|
||||||
// filter the data to chaeck if the product is already added to the order
|
// filter the data to chaeck if the product is already added to the order
|
||||||
|
|||||||
Reference in New Issue
Block a user