X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fxhr.js;h=044e99d9dd4c81c5aa275a9c7007d2e581c43d1b;hb=36685f3a8ecf028a819ec274ff263043f45d0669;hp=fba80022a8453e75d8c8a65c832ab5694b51d00f;hpb=d5d4b239124be40469341d69ec5b967e979c656f;p=brisk.git 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; };