From 680cef1efc6eeb41d0edfddf2d04ea480a1b553d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 20 Sep 2014 03:37:40 +0000 Subject: fixed refactored name diff --git a/index.html b/index.html index d9f8a2c..00f8cee 100644 --- a/index.html +++ b/index.html @@ -112,15 +112,15 @@ log_carts = []; data = { COMMAND: 22, LOGIN_NAME: username, PASSWORD: token, NAME: current_show.log }; - scd = $.post("/rd-bin/rdxport.cgi", data, updateLogCartList, "xml"); + lcd = $.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 }; gcd = $.post("/rd-bin/rdxport.cgi", data, updateGroupCartList, "xml"); - $.when(scd, gcd).done( - function(scres, gcres) { - if(scres[1] == 'success' && gcres[1] == 'success') { + $.when(lcd, gcd).done( + function(lcres, gcres) { + if(lcres[1] == 'success' && gcres[1] == 'success') { updateShowListing(); } } -- cgit v0.10.2