--- rat/lonpage.pm 2019/08/12 15:36:40 1.111.2.8 +++ rat/lonpage.pm 2020/01/22 14:55:13 1.111.2.10 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Page Handler # -# $Id: lonpage.pm,v 1.111.2.8 2019/08/12 15:36:40 raeburn Exp $ +# $Id: lonpage.pm,v 1.111.2.10 2020/01/22 14:55:13 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -320,7 +320,9 @@ ENDEXT if ($env{'form.all_submit_pressed'}) { $posthash{'all_submit'}='yes'; } - } + } elsif ($env{'form.'.$prefix.'markaccess'} eq 'yes') { + $posthash{'markaccess'} = $env{'form.'.$prefix.'markaccess'}; + } if ($env{'environment.remote'} eq 'on') { $posthash{'inhibitmenu'} = 'yes'; } @@ -867,8 +869,8 @@ sub get_buttons { if ($cfile ne '') { my $jscall = &Apache::lonhtmlcommon::jump_to_editres($cfile,$home,$switchserver, $forceedit,1,$symb,undef, - &escape($env{'form.title'}, - $hostname)); + &escape($env{'form.title'}), + $hostname); if ($jscall) { $editbutton = 1; my $icon = 'pcstr.png';