Copyright date updated
[brisk.git] / web / briskin5 / index.php
index f4fc60f..1e0ba3b 100644 (file)
@@ -2,7 +2,7 @@
 /*
  *  brisk - briskin5/index.php
  *
- *  Copyright (C) 2006-2011 Matteo Nastasi
+ *  Copyright (C) 2006-2012 Matteo Nastasi
  *                          mailto: nastasi@alternativeoutput.it 
  *                                  matteo.nastasi@milug.org
  *                          web: http://www.alternativeoutput.it
@@ -110,14 +110,16 @@ window.onload = function() {
   preferences_update();
 
   sess = "<?php echo "$sess"; ?>";
-  hstm = new http_streaming(window, console, gst, 'table_php', 'sess', sess, $('sandbox'), 'index_rd_ifra.php', function(com){eval(com);});
+  hstm = new http_streaming(window, null /* console */, gst, 'table_php', 'sess', sess, $('sandbox'), 'index_rd_ifra.php', function(com){eval(com);});
   hstm.hbit_set(heartbit);
   
   window.onbeforeunload = onbeforeunload_cb;  
   window.onunload = onunload_cb;  
 
   hstm.start(); 
-  setTimeout(preload_images, 0, g_preload_img_arr, g_imgct); 
+  // FIXME: add this setTimeout(preload_images into data stream to avoid
+  // race on opened socket
+  // setTimeout(preload_images, 0, g_preload_img_arr, g_imgct);
 }
 </SCRIPT>
 <div id="bg" class="area">
@@ -309,4 +311,4 @@ window.onload = function() {
 </html>
 <?php
 }
-?>
\ No newline at end of file
+?>