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

droeschl droeschl@source.lon-capa.org
Wed, 17 Mar 2010 15:59:38 -0000


droeschl		Wed Mar 17 15:59:38 2010 EDT

  Modified files:              
    /loncom/interface	lonnavdisplay.pm 
  Log:
  Fixed a bug that caused the display of 2 breadcrumblines (1 of which erroneous) if course contents was the first resource in course.
  
  
Index: loncom/interface/lonnavdisplay.pm
diff -u loncom/interface/lonnavdisplay.pm:1.15 loncom/interface/lonnavdisplay.pm:1.16
--- loncom/interface/lonnavdisplay.pm:1.15	Tue Mar 16 19:55:49 2010
+++ loncom/interface/lonnavdisplay.pm	Wed Mar 17 15:59:38 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavdisplay.pm,v 1.15 2010/03/16 19:55:49 droeschl Exp $
+# $Id: lonnavdisplay.pm,v 1.16 2010/03/17 15:59:38 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -82,7 +82,7 @@
     $r->send_http_header;
 
 # ------------------------------------------------------------ Get query string
-    &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['register','sort','showOnlyHomework','postsymb']);
+    &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['sort','showOnlyHomework','postsymb']);
     
 # ----------------------------------------------------- Force menu registration
     # Header
@@ -90,8 +90,7 @@
     my $title = $course_type . ' Contents';
     my $breadcrumb_text = mt($course_type . ' Contents');
     $r->print(&Apache::loncommon::start_page($title, '',
-                         { 'force_register'  => $env{'form.register'},
-                           'bread_crumbs'    => [{text => $breadcrumb_text }],}));
+                         { 'bread_crumbs'    => [{text => $breadcrumb_text }],}));
 #SD
     $r->print('<script type="text/javascript">window.focus();</script>');