version 1.50, 2021/08/04 19:59:10
|
version 1.55, 2021/12/28 02:20:07
|
Line 261 $jscript
|
Line 261 $jscript
|
"toggleProctoring(document.display,'examity');"; |
"toggleProctoring(document.display,'examity');"; |
} |
} |
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 (grep(/^autoenroll$/,@actions)) { |
|
$onload .= "toggleFailsafe(document.display);"; |
|
} |
|
if (grep(/^login$/,@actions)) { |
|
my %domservers = &Apache::lonnet::get_servers($dom); |
|
foreach my $server (sort(keys(%domservers))) { |
|
$onload .= "toggleSamlOptions(document.display,'$server');"; |
|
} |
} |
} |
if ($onload) { |
if ($onload) { |
my %loaditems = ( |
my %loaditems = ( |
Line 370 sub make_changes {
|
Line 382 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) { |