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

www lon-capa-cvs@mail.lon-capa.org
Wed, 29 Oct 2003 22:09:17 -0000


www		Wed Oct 29 17:09:17 2003 EDT

  Modified files:              
    /rat	lonpageflip.pm 
  Log:
  Version number is not part of anything in bighash except src.
  
  
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.45 rat/lonpageflip.pm:1.46
--- rat/lonpageflip.pm:1.45	Wed Sep 17 14:16:39 2003
+++ rat/lonpageflip.pm	Wed Oct 29 17:09:17 2003
@@ -2,7 +2,7 @@
 #
 # Page flip handler
 #
-# $Id: lonpageflip.pm,v 1.45 2003/09/17 18:16:39 albertel Exp $
+# $Id: lonpageflip.pm,v 1.46 2003/10/29 22:09:17 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -190,6 +190,7 @@
       $ENV{'form.postdata'}=~/(\w+)\:(.*)/;
       my $direction=$1;
       my $currenturl=$2;
+      $currenturl=~s/\.\d+\.(\w+)$/\.$1/;
       if ($direction eq 'return') {
 # -------------------------------------------------------- Return to last known
          my $last;