summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPeter Grassberger <petertheone@gmail.com>2016-04-01 15:45:46 (GMT)
committerPeter Grassberger <petertheone@gmail.com>2016-04-01 15:45:46 (GMT)
commit03b5badf7cdeeac43b4567f1c731d6b13d84261e (patch)
tree1adc1ef116c8b62c145a2f314cb2b88f16a521d3 /www/js
parent8db94592d6222fbd0153cf05c83724d7ac518634 (diff)
fix listCarts error
Diffstat (limited to 'www/js')
-rw-r--r--www/js/rdxport.js7
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 = {};