--- loncom/interface/coursecatalog.pm 2014/01/15 18:49:19 1.78
+++ loncom/interface/coursecatalog.pm 2014/03/17 18:20:32 1.80
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler for displaying the course catalog interface
#
-# $Id: coursecatalog.pm,v 1.78 2014/01/15 18:49:19 bisitz Exp $
+# $Id: coursecatalog.pm,v 1.80 2014/03/17 18:20:32 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -298,8 +298,11 @@ sub instcode_course_selector {
my ($jscript,$totcodes,$numtitles,$lasttitle) =
&Apache::courseclassifier::instcode_selectors_data($codedom,$formname,
\%cat_items,$codetitles,\%cat_titles,\%cat_order);
- my $js = '';
+ my $js = '';
if ($totcodes) {
if (($env{'form.state'} eq 'listing') && ($numtitles > 0)) {
$add_entries{'onLoad'} = 'setElements();';
@@ -327,7 +330,7 @@ sub instcode_course_selector {
'
');
} else {
- $js = '';
+ $js = '';
&cat_header($r,$codedom,$js,\%add_entries,$catlinks,$numtitles);
my $cat_maxdepth = $env{'form.catalog_maxdepth'};
$r->print('