[LON-CAPA-cvs] cvs: loncom(version_1_2_X) /interface lonnavmaps.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 20 Sep 2004 15:26:04 -0000


albertel		Mon Sep 20 11:26:04 2004 EDT

  Modified files:              (Branch: version_1_2_X)
    /loncom/interface	lonnavmaps.pm 
  Log:
  - backport 1.294
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.267.2.4 loncom/interface/lonnavmaps.pm:1.267.2.5
--- loncom/interface/lonnavmaps.pm:1.267.2.4	Mon Sep 13 16:09:33 2004
+++ loncom/interface/lonnavmaps.pm	Mon Sep 20 11:26:04 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.267.2.4 2004/09/13 20:09:33 albertel Exp $
+# $Id: lonnavmaps.pm,v 1.267.2.5 2004/09/20 15:26:04 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1260,7 +1260,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();