[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 20 Sep 2004 15:23:13 -0000
albertel Mon Sep 20 11:23:13 2004 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
- we don't know where they are or where they are coming from, so don't step through the whole course looking for nothing
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.293 loncom/interface/lonnavmaps.pm:1.294
--- loncom/interface/lonnavmaps.pm:1.293 Sun Sep 19 10:47:37 2004
+++ loncom/interface/lonnavmaps.pm Mon Sep 20 11:23:13 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.293 2004/09/19 14:47:37 matthew Exp $
+# $Id: lonnavmaps.pm,v 1.294 2004/09/20 15:23:13 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1428,7 +1428,7 @@
# 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();