--- loncom/interface/londocs.pm 2002/09/04 19:24:46 1.18 +++ loncom/interface/londocs.pm 2002/09/04 20:33:38 1.19 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.18 2002/09/04 19:24:46 www Exp $ +# $Id: londocs.pm,v 1.19 2002/09/04 20:33:38 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -232,6 +232,7 @@ sub handler { my $script=''; my $allowed; my $events=''; + my $showdoc=0; &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'}, ['folder','foldername','showdoc']); unless ($ENV{'form.showdoc'}) { # got called from remote @@ -246,8 +247,7 @@ sub handler { } } else { # got called in sequence from course $allowed=0; - $forcestandard=1; - $forcesupplement=0; + $showdoc=1; $script=&Apache::lonxml::registerurl(1,undef); $events='onLoad="'.&Apache::lonxml::loadevents. '" onUnload="'.&Apache::lonxml::unloadevents.'"'; @@ -275,6 +275,10 @@ sub handler {