summaryrefslogtreecommitdiff
path: root/www/js/shows.js
diff options
context:
space:
mode:
authorPeter Grassberger <petertheone@gmail.com>2016-02-10 05:47:38 (GMT)
committerPeter Grassberger <petertheone@gmail.com>2016-02-10 05:47:38 (GMT)
commitb1821ae253555aea1e840d4809b1c144a7f5fc15 (patch)
treec4dcdfde192eb6aec39d93964e64f71b625a7327 /www/js/shows.js
parent8ce69bbc3ef2974ab1bc4b02b5320827a1ae9935 (diff)
rename rivendell instance to rdxport
Diffstat (limited to 'www/js/shows.js')
-rw-r--r--www/js/shows.js22
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) {