[LON-CAPA-cvs] cvs: rat / lonsequence.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Sun, 29 Aug 2004 16:30:54 -0000


raeburn		Sun Aug 29 12:30:54 2004 EDT

  Modified files:              
    /rat	lonsequence.pm 
  Log:
  While moving through a sequence containing hidden resources, remember to update $randomout as we search for the first visible resource to display. For 1.2 
  
  
Index: rat/lonsequence.pm
diff -u rat/lonsequence.pm:1.18 rat/lonsequence.pm:1.19
--- rat/lonsequence.pm:1.18	Tue Jul  6 11:27:00 2004
+++ rat/lonsequence.pm	Sun Aug 29 12:30:53 2004
@@ -2,7 +2,7 @@
 #
 # Sequence Handler
 #
-# $Id: lonsequence.pm,v 1.18 2004/07/06 15:27:00 raeburn Exp $
+# $Id: lonsequence.pm,v 1.19 2004/08/29 16:30:53 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -292,6 +292,7 @@
                if ($disid) {
 	           $disurl=$bighash{'src_'.$disid};
                    $dismapid=(split(/\./,$disid))[1];
+                   $randomout = $bighash{'randomout_'.$disid};
                }
  	   }
            $exitdisid = $disid;