diff options
Diffstat (limited to 'www/js/shows.js')
-rw-r--r-- | www/js/shows.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/www/js/shows.js b/www/js/shows.js index 91c4bc0..cc226cd 100644 --- a/www/js/shows.js +++ b/www/js/shows.js @@ -35,9 +35,9 @@ var showListView = null; function shows_init() { /*shows_currentid = sessionStorage.getItem("shows_currentid"); shows_list = []; - rivendell.listDropboxes('show', shows_updateList);*/ + rdxport.listDropboxes('show', shows_updateList);*/ - var showList = new Rivendell.GroupList(rivendell); + var showList = new Rivendell.GroupList(); showListView = new Rivendell.ShowListView(showList); drawClock('Do, 1.1.1970', '00:00:00', 0); @@ -151,7 +151,7 @@ Rivendell.Show.prototype.constructor = Rivendell.Show; Rivendell.Show.prototype.fetchCartsAndLogs = function() { var self = this; - var lcd = rivendell.listLog(this.log, function(logsXml, status, req) { + var lcd = rdxport.listLog(this.log, function(logsXml, status, req) { self.logs = []; var loglines = $('logList', logsXml).children(); @@ -164,7 +164,7 @@ Rivendell.Show.prototype.fetchCartsAndLogs = function() { }); }); - var gcd = rivendell.listCarts(this.groupName, 1, function(cartsXml, status, req) { + var gcd = rdxport.listCarts(this.groupName, 1, function(cartsXml, status, req) { self.carts = []; var dbs = $('cartList', cartsXml).children(); @@ -276,7 +276,7 @@ Rivendell.ShowCartView.prototype.delete = function() { $('td:last', this.$el).html(this.$spinner); var self = this; - rivendell.removeCart(this.model.number, function() { + rdxport.removeCart(this.model.number, function() { self.model.group.removeCart(self.model); self.renderEmpty(); }); @@ -286,13 +286,13 @@ Rivendell.ShowCartView.prototype.delete = function() { function shows_deleteCart(cart) { - rivendell.removeCart(cart, function() { + rdxport.removeCart(cart, function() { shows_updateGroupCartInfo(cart); }); } function shows_importAddCut(cart, dz, file) { - rivendell.addCut(cart, function() { + rdxport.addCut(cart, function() { dz.processQueue(); }).fail(function(xhr, status, err) { shows_importFileUploadError(cart, dz, file, err, xhr); @@ -300,7 +300,7 @@ function shows_importAddCut(cart, dz, file) { } function shows_importAddCart(cart, dz, file) { - rivendell.addCart(shows_current.group.name, 'audio', cart, function() { + rdxport.addCart(shows_current.group.name, 'audio', cart, function() { shows_importAddCut(cart, dz, file); }).fail(function(xhr, status, err) { shows_importFileUploadError(cart, dz, file, err, xhr); @@ -467,7 +467,7 @@ function shows_newImportErrorEntry(cart, msg) { } function shows_updateGroupCartInfo(cart) { - rivendell.listCart(cart, 1, function(data) { + rdxport.listCart(cart, 1, function(data) { shows_updateGroupCartList(data); shows_redrawCartEntry(cart); }).fail(function() { @@ -532,10 +532,10 @@ function shows_showSelected() { $('#show-length').text(shows_current.length + ' Min.'); shows_log_carts = []; - var lcd = rivendell.listLog(shows_current.log, shows_updateLogCartList); + var lcd = rdxport.listLog(shows_current.log, shows_updateLogCartList); shows_group_carts = {}; - var gcd = rivendell.listCarts(shows_current.group.name, 1, shows_updateGroupCartList); + var gcd = rdxport.listCarts(shows_current.group.name, 1, shows_updateGroupCartList); $.when(lcd, gcd).done( function(lcres, gcres) { |