--- rat/lonpageflip.pm 2003/01/14 18:47:50 1.34 +++ rat/lonpageflip.pm 2003/03/01 15:13:59 1.35 @@ -2,7 +2,7 @@ # # Page flip handler # -# $Id: lonpageflip.pm,v 1.34 2003/01/14 18:47:50 www Exp $ +# $Id: lonpageflip.pm,v 1.35 2003/03/01 15:13:59 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -211,7 +211,10 @@ sub handler { } $currenturl=~s/^http\:\/\///; $currenturl=~s/^[^\/]+//; - unless ($currenturl=~/^\/(res|adm\/wrapper|public|adm\/coursedocs)\//) { +# +# Is the current URL on the map? If not, start with last known URL +# + unless (&Apache::lonnet::is_on_map($currenturl)) { my $last; if (tie(%hash,'GDBM_File',$ENV{'request.course.fn'}.'_symb.db', &GDBM_READER(),0640)) {