From 9c826333ad5ff390d207122acf0466e7361924f7 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 20 Sep 2014 02:30:29 +0000 Subject: added debug output diff --git a/index.html b/index.html index 55b80a2..c781d6c 100644 --- a/index.html +++ b/index.html @@ -60,11 +60,15 @@ function updateShowListing() { $('#show-carts tbody').find('tr').remove(); + $('#show-info-dumper').text( + 'Group Carts:\n' + JSON.stringify(group_carts, null, ' ') + + '\n\nShow Carts:\n' + JSON.stringify(show_carts, null, ' ') + ); } function updateGroupCartList(data, status, req) { - show_carts = []; + group_carts = []; $('#show-carts').find('tr:gt(0)').remove(); var cartlist = $(data).find("cartList"); var carts = cartlist.children(); @@ -90,9 +94,7 @@ var cartlist = $(data).find("logList"); var carts = cartlist.children(); carts.each(function() { - if($(this).find('groupName').text() == current_show.group) { - show_carts.push($(this).find('cartNumber').text()); - } + show_carts.push($(this).find('cartNumber').text()); } ); @@ -366,6 +368,8 @@ +
+            
-- cgit v0.10.2