diff options
author | Peter Grassberger <petertheone@gmail.com> | 2016-04-01 15:45:46 (GMT) |
---|---|---|
committer | Peter Grassberger <petertheone@gmail.com> | 2016-04-01 15:45:46 (GMT) |
commit | 03b5badf7cdeeac43b4567f1c731d6b13d84261e (patch) | |
tree | 1adc1ef116c8b62c145a2f314cb2b88f16a521d3 | |
parent | 8db94592d6222fbd0153cf05c83724d7ac518634 (diff) |
fix listCarts error
-rw-r--r-- | www/js/rdxport.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/www/js/rdxport.js b/www/js/rdxport.js index 73e4a7d..ff54f51 100644 --- a/www/js/rdxport.js +++ b/www/js/rdxport.js @@ -401,7 +401,12 @@ Rdxport.Group.prototype.removeCart = function(cart) { Rdxport.Group.prototype.fetchCarts = function() { var self = this; - rdxport.listCarts(this.groupName, 1, function(cartsXml, status, req) { + + var listCartOptions = { + GROUP_NAME: this.groupName, + INCLUDE_CUTS: 1 + }; + rdxport.listCarts(listCartOptions, function(cartsXml, status, req) { self.carts = []; self.cartsByNumber = {}; |