From: Matteo Nastasi (mop) Date: Sat, 19 Jan 2008 14:27:20 +0000 (+0000) Subject: g_is_spawn var used to choose the GET target X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=a3d99f9962b15f3f60096ae5342bf6c347c82ee7;p=brisk.git g_is_spawn var used to choose the GET target --- 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);