--- rat/lonpageflip.pm 2022/10/19 00:03:12 1.112 +++ rat/lonpageflip.pm 2022/10/19 18:09:03 1.113 @@ -2,7 +2,7 @@ # # Page flip handler # -# $Id: lonpageflip.pm,v 1.112 2022/10/19 00:03:12 raeburn Exp $ +# $Id: lonpageflip.pm,v 1.113 2022/10/19 18:09:03 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -545,7 +545,11 @@ sub handler { } } if (($reinitcheck eq 'both') || ($reinitcheck eq 'supp')) { - my ($supplemental,$refs_updated) = &Apache::lonnet::get_supplemental($cnum,$cdom); + my $possdel; + if ($reinitcheck eq 'supp') { + $possdel = 1; + } + my ($supplemental,$refs_updated) = &Apache::lonnet::get_supplemental($cnum,$cdom,'',$possdel); unless ($refs_updated) { &Apache::loncommon::set_supp_httprefs($cnum,$cdom,$supplemental); }