--- loncom/interface/lonnavmaps.pm 2002/12/02 14:19:38 1.119 +++ loncom/interface/lonnavmaps.pm 2002/12/02 14:22:50 1.121 @@ -2,7 +2,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.119 2002/12/02 14:19:38 bowersj2 Exp $ +# $Id: lonnavmaps.pm,v 1.121 2002/12/02 14:22:50 bowersj2 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -274,15 +274,13 @@ sub real_handler { my $foundJump = ($jumpType == $NOTHING); # look for jump point if we have one my $looped = 0; - $r->print($hereType); - # We only need to do this if we need to open the maps to show the # current position. This will change the counter so we can't count # for the jump marker with this loop. while ($depth > 0 && !$ENV{'form.alreadyHere'}) { if ($curRes == $mapIterator->BEGIN_MAP()) { $depth++; } if ($curRes == $mapIterator->END_MAP()) { $depth--; } - $r->print($curRes . ' '); + if (ref($curRes) && !$ENV{'form.alreadyHere'} && ($hereType == $SYMB && $curRes->symb() eq $here) || (ref($curRes) && $hereType == $URL && $curRes->src() eq $here)) {