plugins/org.symbian.tools.tmw.previewer/http-content/wrtdebugger/debugger.htm
changeset 485 df4f55e8569e
parent 484 f5df819c1852
child 486 f0031abe2cd6
equal deleted inserted replaced
484:f5df819c1852 485:df4f55e8569e
     1 <html>
       
     2 <head>
       
     3 	<script type="text/javascript">
       
     4 		var req;
       
     5 		
       
     6 		function connect() {
       
     7 			req = new XMLHttpRequest();
       
     8 			req.onreadystatechange = testconnection;
       
     9 			req.open("GET", "testConnection" + window.location.search, true);
       
    10 			req.send(null);
       
    11 		}
       
    12 		
       
    13 		function testconnection() {
       
    14 			if (req.readyState == 4) {
       
    15 				if (req.status != 200) {
       
    16 					window.setTimeout(connect, 200);
       
    17 				} else {
       
    18 					window.location = '../wrt_preview_main.html';
       
    19 				}
       
    20 			}
       
    21 		}
       
    22 	</script>
       
    23 </head>
       
    24 <body onload="connect()" style="color: silver;">
       
    25 
       
    26 </body>