From 43cab39ea58529cd2442c28f4157bb7efc97856f Mon Sep 17 00:00:00 2001 From: Matteo Nastasi Date: Thu, 25 Oct 2012 11:22:10 +0200 Subject: [PATCH] stream page fast reload bug fixed --- web/index.php | 3 ++- web/xynt-http-streaming.js | 47 +++++++++++++++++++------------------- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/web/index.php b/web/index.php index 8cf1eee..b83532c 100644 --- a/web/index.php +++ b/web/index.php @@ -1068,7 +1068,8 @@ hstm = new http_streaming(window, null /* console*/ , gst, 'index_php', 'sess', // console.log("session from main: "+sess); hstm.start(); // alert("ARR LENGTH "+g_preload_img_arr.length); - setTimeout(preload_images, 0, g_preload_img_arr, g_imgct); + // FIXME: preload image will be fired by stream instead here + // setTimeout(preload_images, 0, g_preload_img_arr, g_imgct); $("txt_in").focus();