From a3d99f9962b15f3f60096ae5342bf6c347c82ee7 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sat, 19 Jan 2008 14:27:20 +0000 Subject: [PATCH] g_is_spawn var used to choose the GET target --- web/xhr.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/xhr.js b/web/xhr.js index 3cbfe67..52a19ff 100644 --- a/web/xhr.js +++ b/web/xhr.js @@ -68,8 +68,9 @@ function xhr_rd_start(sess,stat,subst,step) xhr_rd_newctx = ""; /* NOTE document.uniqueID exists only under IE */ - // alert("di qui3"); - xhr_rd.open('GET', 'index_rd.php?sess='+sess+"&stat="+stat+"&subst="+subst+"&step="+step+"&onlyone="+(document.uniqueID ? "TRUE" : "FALSE")+"&myfrom="+myfrom, true); + // if (g_is_spawn == 1) + // alert("di qui3: "+(g_is_spawn == 1 ? "&table_idx="+g_table_idx : "")); + xhr_rd.open('GET', 'index_rd.php?sess='+sess+"&stat="+stat+"&subst="+subst+"&step="+step+"&onlyone="+(document.uniqueID ? "TRUE" : "FALSE")+"&myfrom="+myfrom+(g_is_spawn == 1 ? "&table_idx="+g_table_idx : ""), true); // try { xhr_rd.onreadystatechange = function() { xhr_rd_cb(xhr_rd); } xhr_rd.send(null); -- 2.17.1