Parent Directory | Revision Log | Patch
revision 28 by andrew.betts, Mon Jun 25 10:37:57 2007 UTC | revision 29 by andrew.betts, Wed Oct 10 22:18:30 2007 UTC | |
---|---|---|
# | Line 114 function ptimeout() { | Line 114 function ptimeout() { |
114 | setTimeout(poll, x); | setTimeout(poll, x); |
115 | } | } |
116 | ||
117 | function guard() { | |
118 | var url = get("subsurl"); | |
119 | if (typeof(url)=="undefined") { | |
120 | pollreq.abort(); | |
121 | delete pollreq; | |
122 | clearTimeout(polltimer); | |
123 | } | |
124 | } | |
125 | ||
126 | poll(); | poll(); |
127 | guard(); | |
128 | ||
129 | ||
130 | </script> | </script> |
131 | </body> | </body> |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |