[prev in list] [next in list] [prev in thread] [next in thread]
List: os-sim-commits
Subject: [Os-sim-commits] os-sim/www/risk_maps index.php, 1.6, 1.7 view.php,
From: Dominique Karg <dkarg () users ! sourceforge ! net>
Date: 2008-10-15 14:04:39
Message-ID: E1Kq6zP-0003jr-3w () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/os-sim/os-sim/www/risk_maps
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14340
Modified Files:
index.php view.php
Log Message:
setInterval is much cleaner
Index: view.php
===================================================================
RCS file: /cvsroot/os-sim/os-sim/www/risk_maps/view.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- view.php 15 Oct 2008 13:59:28 -0000 1.6
+++ view.php 15 Oct 2008 14:04:37 -0000 1.7
@@ -185,7 +185,7 @@
responderAjax("refresh.php?map=<? echo $map ?>")
}
refresh_indicators();
- setTimeout("refresh_indicators()", 5000)
+ setInterval(refresh_indicators,5000);
</script>
<body leftmargin=5 topmargin=5 class=ne1 onload="initDiv()">
Index: index.php
===================================================================
RCS file: /cvsroot/os-sim/os-sim/www/risk_maps/index.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- index.php 15 Oct 2008 13:44:47 -0000 1.6
+++ index.php 15 Oct 2008 14:04:37 -0000 1.7
@@ -477,10 +477,11 @@
}
function refresh_indicators() {
- document.f.state.value = "refrescando..."
responderAjax("refresh.php?map=<? echo $map ?>")
- setTimeout("refresh_indicators()", 5000)
}
+ refresh_indicators();
+ setInterval(refresh_indicators,5000);
+
function chk(fo) {
if (fo.name.value=='') {
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Os-sim-commits mailing list
Os-sim-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/os-sim-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic