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

bowersj2 lon-capa-cvs@mail.lon-capa.org
Fri, 11 Apr 2003 20:13:25 -0000


bowersj2		Fri Apr 11 16:13:25 2003 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  render does need to untie the navmaps if it creates it. Removed when
  we were trying that automatic untying thing and erroneously not replaced.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.174 loncom/interface/lonnavmaps.pm:1.175
--- loncom/interface/lonnavmaps.pm:1.174	Fri Apr  4 16:36:01 2003
+++ loncom/interface/lonnavmaps.pm	Fri Apr 11 16:13:25 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.174 2003/04/04 21:36:01 albertel Exp $
+# $Id: lonnavmaps.pm,v 1.175 2003/04/11 20:13:25 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1000,8 +1000,8 @@
         # Step two: Locate what kind of here marker is necessary
         # Determine where the "here" marker is and where the screen jumps to.
 
-        if ($ENV{'form.symb'}) {
-            $here = $jump = $ENV{'form.symb'};
+        if ($ENV{'form.postsymb'}) {
+            $here = $jump = $ENV{'form.postsymb'};
         } elsif ($ENV{'form.postdata'}) {
             # couldn't find a symb, is there a URL?
             my $currenturl = $ENV{'form.postdata'};
@@ -1351,7 +1351,7 @@
         $r->rflush();
     }
         
-    #if ($mustCloseNavMap) { $navmap->untieHashes(); } 
+    if ($mustCloseNavMap) { $navmap->untieHashes(); } 
 
     return $result;
 }