diff options
-rw-r--r-- | index.html | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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(); } } |