From 36685f3a8ecf028a819ec274ff263043f45d0669 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 15 Jan 2007 12:54:41 +0000 Subject: [PATCH] minors --- web/xhr.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/web/xhr.js b/web/xhr.js index fba8002..044e99d 100644 --- a/web/xhr.js +++ b/web/xhr.js @@ -81,14 +81,12 @@ function xhr_rd_poll(sess) xhr_rd.abort(); } */ - var zug = "XHR_RD_POLL sess = "+sess+" stat = "+stat+" subst = "+subst+" step = "+gst.st+" step_loc = "+gst.st_loc+" step_loc_new = "+gst.st_loc_new+" STOP: "+xhr_rd_stopped; if (zug != $("sandbox").innerHTML) $("sandbox").innerHTML = zug; - - /* heartbeat log */ + /* heartbit log */ $("heartbit").innerHTML += "_"; if ($("heartbit").innerHTML.length == 20) $("heartbit").innerHTML = "_"; @@ -129,9 +127,11 @@ function xhr_rd_poll(sess) if (the_end != true) { watchdog = 0; setTimeout(xhr_rd_poll, tout, sess); + $("heartbit").innerHTML += "-"; if ($("heartbit").innerHTML.length == 20) $("heartbit").innerHTML = "-"; + } return; } @@ -218,9 +218,11 @@ function xhr_rd_poll(sess) // $("sandbox").innerHTML += "return 3
"; if (the_end != true) { setTimeout(xhr_rd_poll, tout, sess); + $("heartbit").innerHTML += "-"; if ($("heartbit").innerHTML.length == 20) $("heartbit").innerHTML = "-"; + } return; }; -- 2.17.1