From 7f71718f94358b4196988e4596619cfd87205acc Mon Sep 17 00:00:00 2001 From: Matteo Nastasi Date: Mon, 29 Oct 2012 14:04:56 +0100 Subject: [PATCH] preload_images start added to first initializiation stream's data --- web/Obj/brisk.phh | 3 ++- web/briskin5/Obj/briskin5.phh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 62946ed..d2b7173 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -923,7 +923,8 @@ class Room { $ret .= sprintf('tra.rem(%d); ', $i); } $ret .= $this->standup_content($user); - + $ret .= "setTimeout(preload_images, 0, g_preload_img_arr, g_imgct); "; + return ($ret); } diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index 2354137..fc3a670 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -1640,6 +1640,7 @@ function show_table(&$bri, &$user, $sendstep, $is_transition, $is_again) /* NOTIFY FOR THE CARD MAKER */ if ($is_transition) { // && $user->subst == "asta" superfluo $ret .= show_table_info(&$bri, &$table, $table_pos); + $ret .= "setTimeout(preload_images, 500, g_preload_img_arr, g_imgct);"; } if (!$is_again) $ret .= table_wellcome($user); -- 2.17.1