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

www lon-capa-cvs@mail.lon-capa.org
Thu, 11 Apr 2002 18:19:47 -0000


www		Thu Apr 11 14:19:47 2002 EDT

  Modified files:              
    /rat	lonpageflip.pm 
  Log:
  Need to remember map in which we started
  
  
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.20 rat/lonpageflip.pm:1.21
--- rat/lonpageflip.pm:1.20	Thu Apr 11 11:43:40 2002
+++ rat/lonpageflip.pm	Thu Apr 11 14:19:46 2002
@@ -2,7 +2,7 @@
 #
 # Page flip handler
 #
-# $Id: lonpageflip.pm,v 1.20 2002/04/11 15:43:40 albertel Exp $
+# $Id: lonpageflip.pm,v 1.21 2002/04/11 18:19:46 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -206,6 +206,7 @@
 	  my ($mapurl,$mapnum,$thisurl)=split(/\_\_\_/,$position);
           $cachehash{$mapurl}{$thisurl}=$mapnum;
           $cachehash{$mapurl}{'last_known'}=&Apache::lonnet::declutter($currenturl);
+          my $startoutmap=$mapurl;
 
 # ============================================================ Tie the big hash
           if (tie(%hash,'GDBM_File',$ENV{'request.course.fn'}.'.db',