preload_images start added to first initializiation stream's data
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Mon, 29 Oct 2012 13:04:56 +0000 (14:04 +0100)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Mon, 29 Oct 2012 13:04:56 +0000 (14:04 +0100)
web/Obj/brisk.phh
web/briskin5/Obj/briskin5.phh

index 62946ed..d2b7173 100644 (file)
@@ -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);
   }
   
index 2354137..fc3a670 100644 (file)
@@ -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);