summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2014-09-20 03:05:09 (GMT)
committerChristian Pointner <equinox@helsinki.at>2014-09-20 03:05:09 (GMT)
commite32bb54837fe1e7d79511c75da1342238e3f2d72 (patch)
tree5e3f3b7813c986b9336feb2af80fba02f3eb9b9a /index.html
parentc09a4e1480f51bb3585bfc9d5ce053fc49492936 (diff)
renamed show_carts to log_carts
Diffstat (limited to 'index.html')
-rw-r--r--index.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/index.html b/index.html
index 5b09644..8d5e1c4 100644
--- a/index.html
+++ b/index.html
@@ -56,14 +56,14 @@
var shows_list = [];
var current_show;
var group_carts = [];
- var show_carts = [];
+ var log_carts = [];
function updateShowListing() {
$('#show-carts tbody').find('tr').remove();
$('#show-info-dumper').text(
'Current Show:\n' + JSON.stringify(current_show, null, ' ') +
'\n\nGroup Carts:\n' + JSON.stringify(group_carts, null, ' ') +
- '\n\nShow Carts:\n' + JSON.stringify(show_carts, null, ' ')
+ '\n\nLog Carts:\n' + JSON.stringify(log_carts, null, ' ')
);
}
@@ -88,14 +88,14 @@
);
}
- function updateShowCartList(data, status, req) {
- show_carts = [];
- var cartlist = $(data).find("logList");
- var carts = cartlist.children();
- carts.each(function() {
+ function updateLogCartList(data, status, req) {
+ log_carts = [];
+ var loglist = $(data).find("logList");
+ var loglines = loglist.children();
+ loglines.each(function() {
var number = $(this).find('cartNumber').text();
if(number >= current_show.group.lowcart && number <= current_show.group.highcart) {
- show_carts.push(number);
+ log_carts.push(number);
}
}
);
@@ -110,9 +110,9 @@
$('#show-starttime').text(current_show.starttime);
$('#show-length').text(current_show.length + ' Min.');
- show_carts = [];
+ log_carts = [];
data = { COMMAND: 22, LOGIN_NAME: username, PASSWORD: token, NAME: current_show.log };
- scd = $.post("/rd-bin/rdxport.cgi", data, updateShowCartList, "xml");
+ scd = $.post("/rd-bin/rdxport.cgi", data, updateLogCartList, "xml");
group_carts = [];
data = { COMMAND: 6, LOGIN_NAME: username, PASSWORD: token, GROUP_NAME: current_show.group.name, INCLUDE_CUTS: 1 };