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

raeburn raeburn at source.lon-capa.org
Tue May 19 14:07:36 EDT 2015


raeburn		Tue May 19 18:07:36 2015 EDT

  Modified files:              
    /loncom/interface	coursecatalog.pm 
  Log:
  - xhtml
  
  
Index: loncom/interface/coursecatalog.pm
diff -u loncom/interface/coursecatalog.pm:1.86 loncom/interface/coursecatalog.pm:1.87
--- loncom/interface/coursecatalog.pm:1.86	Mon May  4 15:43:48 2015
+++ loncom/interface/coursecatalog.pm	Tue May 19 18:07:35 2015
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for displaying the course catalog interface
 #
-# $Id: coursecatalog.pm,v 1.86 2015/05/04 15:43:48 raeburn Exp $
+# $Id: coursecatalog.pm,v 1.87 2015/05/19 18:07:35 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -454,10 +454,10 @@
              '</script>';
     if ($totcodes) {
         if (($env{'form.state'} eq 'listing') && ($numtitles > 0)) {
-            $add_entries{'onLoad'} = 'setElements();';
+            $add_entries{'onload'} = 'setElements();';
         }
         if (&user_is_dc($codedom) || $canviewall) {
-            $add_entries{'onLoad'} .= ' toggleStatuses();toggleWasActive();'
+            $add_entries{'onload'} .= ' toggleStatuses();toggleWasActive();'
         }
         &cat_header($r,$codedom,$js,\%add_entries,$catlinks,$numtitles,$cattype);
         my $cat_maxdepth = $env{'form.catalog_maxdepth'};




More information about the LON-CAPA-cvs mailing list