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

raeburn raeburn@source.lon-capa.org
Tue, 07 Sep 2010 03:00:38 -0000


raeburn		Tue Sep  7 03:00:38 2010 EDT

  Modified files:              
    /loncom/interface	coursecatalog.pm 
  Log:
  - Eliminate duplicate inline menu when showing course details for official course.
  
  
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.63 loncom/interface/coursecatalog.pm:1.64
--- loncom/interface/coursecatalog.pm:1.63	Thu Jul  8 23:19:19 2010
+++ loncom/interface/coursecatalog.pm	Tue Sep  7 03:00:38 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for displaying the course catalog interface
 #
-# $Id: coursecatalog.pm,v 1.63 2010/07/08 23:19:19 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.64 2010/09/07 03:00:38 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -89,10 +89,6 @@
                                            \%idx,\@jsarray,$subcats);
     my ($numtitles,@codetitles);
     if ($env{'form.coursenum'} ne '' && &user_is_known()) {
-        if ($env{'form.currcat_0'} eq 'instcode::0') {
-            $numtitles = &instcode_course_selector($r,$codedom,$formname,$domdesc,
-                                                   undef,undef,\@codetitles);
-        }
         &course_details($r,$codedom,$formname,$domdesc,\@trails,\%allitems,\@codetitles);
     } else {
         my ($catlinks,$has_subcats,$selitem) = &category_breadcrumbs($codedom,@cats);