version 1.50, 2021/08/04 19:59:10
|
version 1.52, 2021/09/01 00:21:52
|
Line 263 $jscript
|
Line 263 $jscript
|
if (grep(/^scantron$/,@actions)) { |
if (grep(/^scantron$/,@actions)) { |
$onload .= "toggleScantron('document.display');"; |
$onload .= "toggleScantron('document.display');"; |
} |
} |
|
if (grep(/^autoupdate$/,@actions)) { |
|
$onload .= "toggleLastActiveDays('document.display');"; |
|
} |
if ($onload) { |
if ($onload) { |
my %loaditems = ( |
my %loaditems = ( |
'onload' => $onload, |
'onload' => $onload, |
Line 370 sub make_changes {
|
Line 373 sub make_changes {
|
} else { |
} else { |
$changes{$item} = {}; |
$changes{$item} = {}; |
$errors = |
$errors = |
&Apache::courseprefs::process_changes($dom,$item,$values, |
&Apache::courseprefs::process_changes($dom,$confname,$item,$values, |
$prefs->{$item},$changes{$item}, |
$prefs->{$item},$changes{$item}, |
$allitems,\%disallowed,$crstype); |
$allitems,\%disallowed,$crstype); |
if (keys(%{$changes{$item}}) > 0) { |
if (keys(%{$changes{$item}}) > 0) { |