]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
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 62946ed10a3d356c1d4468d355ad43920b67f16a..d2b7173ec646309e80075e4cae3c1b12cb2e76f2 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 235413740cc6b9469acfee25bb87c12a71c447aa..fc3a670c83287bb1478f864850225321edfbcaf8 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);