summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 };