--- loncom/interface/lonnavmaps.pm 2004/08/24 22:09:27 1.267.2.3 +++ loncom/interface/lonnavmaps.pm 2004/09/20 15:28:10 1.267.2.6 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.267.2.3 2004/08/24 22:09:27 albertel Exp $ +# $Id: lonnavmaps.pm,v 1.267.2.6 2004/09/20 15:28:10 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1260,7 +1260,7 @@ sub render { # 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 (($curRes = $mapIterator->next()) && !$found) { + while ($here && ($curRes = $mapIterator->next()) && !$found) { if (ref($curRes) && $curRes->symb() eq $here) { my $mapStack = $mapIterator->getStack(); @@ -1373,7 +1373,7 @@ sub render { } # Check for any unread discussions in all resources. - if (!$args->{'resource_no_folder_link'}) { + if (0 && !$args->{'resource_no_folder_link'}) { my $totdisc = 0; my $haveDisc = ''; my @allres=$navmap->retrieveResources(); @@ -3982,6 +3982,7 @@ sub getCompletionStatus { # Left as separate if statements in case we ever do more with this if ($status eq 'correct_by_student') {return $self->CORRECT;} + if ($status eq 'correct_by_scantron') {return $self->CORRECT;} if ($status eq 'correct_by_override') {return $self->CORRECT_BY_OVERRIDE; } if ($status eq 'incorrect_attempted') {return $self->INCORRECT; } if ($status eq 'incorrect_by_override') {return $self->INCORRECT_BY_OVERRIDE; }