From: Matteo Nastasi Date: Mon, 29 Oct 2012 13:04:56 +0000 (+0100) Subject: preload_images start added to first initializiation stream's data X-Git-Tag: v4.0.0~20 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=7f71718f94358b4196988e4596619cfd87205acc;p=brisk.git preload_images start added to first initializiation stream's data --- 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);