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

bowersj2 lon-capa-cvs@mail.lon-capa.org
Thu, 20 Mar 2003 17:19:29 -0000


bowersj2		Thu Mar 20 12:19:29 2003 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  Should fix at least some duplicate resource problems. When a multi-part
  problem is condensed, only display the default '' part in the render loop.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.160 loncom/interface/lonnavmaps.pm:1.161
--- loncom/interface/lonnavmaps.pm:1.160	Thu Mar 13 15:56:13 2003
+++ loncom/interface/lonnavmaps.pm	Thu Mar 20 12:19:29 2003
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.160 2003/03/13 20:56:13 albertel Exp $
+# $Id: lonnavmaps.pm,v 1.161 2003/03/20 17:19:29 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1139,7 +1139,7 @@
                     if (($statusAllSame && defined($condenseStatuses{$status})) ||
                         ($dueAllSame && $status == $curRes->OPEN && $statusAllSame)||
                         ($openAllSame && $status == $curRes->OPEN_LATER && $statusAllSame) ){
-                        @parts = ($parts[1]);
+                        @parts = ();
                         $args->{'condensed'} = 1;
                     }