diff options
Diffstat (limited to 'www/js/rdxport.js')
-rw-r--r-- | www/js/rdxport.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/www/js/rdxport.js b/www/js/rdxport.js index 35c1b7d..db8bf0a 100644 --- a/www/js/rdxport.js +++ b/www/js/rdxport.js @@ -351,9 +351,7 @@ Rivendell.Rdxport.prototype.deleteAudio = function(cartNumber, cutNumber, succes return $.post(this.endpoint, command, success, 'xml'); }; -Rivendell.GroupList = function(rivendell) { - this.rivendell = rivendell; - +Rivendell.GroupList = function() { this.groups = []; }; @@ -404,7 +402,7 @@ Rivendell.Group.prototype.removeCart = function(cart) { Rivendell.Group.prototype.fetchCarts = function() { var self = this; - rivendell.listCarts(this.groupName, 1, function(cartsXml, status, req) { + rdxport.listCarts(this.groupName, 1, function(cartsXml, status, req) { self.carts = []; self.cartsByNumber = {}; |