--- rat/lonratedt.pm 2002/05/22 13:31:22 1.26 +++ rat/lonratedt.pm 2002/06/04 13:23:54 1.30 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Edit Handler for RAT Maps # -# $Id: lonratedt.pm,v 1.26 2002/05/22 13:31:22 www Exp $ +# $Id: lonratedt.pm,v 1.30 2002/06/04 13:23:54 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -36,6 +36,7 @@ use strict; use Apache::Constants qw(:common); use Apache::lonnet; use Apache::lonratsrv; +use Apache::lonsequence; my @order; my @resources; @@ -129,7 +130,9 @@ sub mapread { } # ---------------------------------------------- Read a map as well as possible - +# Also used by the sequence handler +# Call lonsequence::attemptread to read from resource space +# sub attemptread { my $fn=shift; @@ -263,7 +266,6 @@ ENDDOCUMENT # ---------------------------------------------------------------- Make buttons sub buttons { - if ($ENV{'form.forceselect'}) { return ''; } my $adv=shift; my $output='
-ENDSELECT - } + $r->print(''.&buttons($adv)); if ($errtext) { $r->print($errtext.'