--- loncom/interface/lonmodifycourse.pm 2014/03/31 02:31:05 1.72 +++ loncom/interface/lonmodifycourse.pm 2014/07/31 15:45:27 1.74 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # handler for DC-only modifiable course settings # -# $Id: lonmodifycourse.pm,v 1.72 2014/03/31 02:31:05 raeburn Exp $ +# $Id: lonmodifycourse.pm,v 1.74 2014/07/31 15:45:27 musolffc Exp $ # # Copyright Michigan State University Board of Trustees # @@ -839,7 +839,7 @@ sub modify_selfenrollconfig { $r->print('
'."\n". &hidden_form_elements().'
'); &Apache::loncreateuser::update_selfenroll_config($r,$env{'form.pickedcourse'}, - $cdom,$cnum,\%currsettings); + $cdom,$cnum,'domain',$type,\%currsettings); $r->print('
'); return; } @@ -862,6 +862,7 @@ sub get_selfenroll_settings { selfenroll_end_access => $coursehash->{'internal.selfenroll_end_access'}, default_enrollment_start_date => $coursehash->{'default_enrollment_start_date'}, default_enrollment_end_date => $coursehash->{'default_enrollment_end_date'}, + uniquecode => $coursehash->{'internal.uniquecode'}, ); } return %currsettings; @@ -1771,7 +1772,7 @@ ENDSCRIPT }; } elsif ($phase eq 'courselist') { $starthash = { - add_entries => {'onload' => "hide_searching();"}, + add_entries => {'onload' => "hide_searching(); courseSet(document.filterpicker.official, 'load');"}, }; } $r->print(&Apache::loncommon::start_page('View/Modify Course/Community Settings',