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

amueller amueller@source.lon-capa.org
Sun, 15 Nov 2009 20:50:04 -0000


amueller		Sun Nov 15 20:50:04 2009 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  corrected wrong initialization of hash %loaditems.
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.484 loncom/interface/lonparmset.pm:1.485
--- loncom/interface/lonparmset.pm:1.484	Sat Nov 14 18:54:17 2009
+++ loncom/interface/lonparmset.pm	Sun Nov 15 20:50:03 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.484 2009/11/14 18:54:17 amueller Exp $
+# $Id: lonparmset.pm,v 1.485 2009/11/15 20:50:03 amueller Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -903,8 +903,7 @@
     my ($r) = @_;
 
     my %loaditems = ('onunload' => "pclose()",
-             'onload'   => "group_or_section('cgroup')",
-             'onload'   => "showHide_courseContent()",
+             'onload'   => "showHide_courseContent(); group_or_section('cgroup')",
         );
 
     if ((($env{'form.command'} eq 'set') && ($env{'form.url'})