version 1.80.8.13.2.3, 2023/01/20 23:34:08
|
version 1.80.8.13.2.4, 2025/02/07 20:57:39
|
Line 524 sub handler {
|
Line 524 sub handler {
|
} else { |
} else { |
$furl=&Apache::lonnet::absolute_url().$furl; |
$furl=&Apache::lonnet::absolute_url().$furl; |
} |
} |
if ($reinitcheck eq 'update') { |
if (($reinitcheck eq 'main') || ($reinitcheck eq 'both')) { |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
$r->print(&reinited_js($furl,$env{'request.course.id'},100)); |
$r->print(&reinited_js($furl,$env{'request.course.id'},100)); |
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |
Line 566 sub handler {
|
Line 566 sub handler {
|
} else { |
} else { |
$newloc=&Apache::lonnet::absolute_url().$newloc |
$newloc=&Apache::lonnet::absolute_url().$newloc |
} |
} |
if ($reinitcheck eq 'update') { |
if (($reinitcheck eq 'main') || ($reinitcheck eq 'both')) { |
$r->print(&reinited_js($newloc,$env{'request.course.id'},100)); |
$r->print(&reinited_js($newloc,$env{'request.course.id'},100)); |
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |
return OK; |
return OK; |
Line 593 sub handler {
|
Line 593 sub handler {
|
} else { |
} else { |
my $newloc = &Apache::lonnet::absolute_url(). |
my $newloc = &Apache::lonnet::absolute_url(). |
'/adm/navmaps'; |
'/adm/navmaps'; |
if ($reinitcheck eq 'update') { |
if (($reinitcheck eq 'main') || ($reinitcheck eq 'both')) { |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
$r->print(&reinited_js($newloc,$env{'request.course.id'},100)); |
$r->print(&reinited_js($newloc,$env{'request.course.id'},100)); |
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |
Line 708 sub handler {
|
Line 708 sub handler {
|
$url .= $anchor; |
$url .= $anchor; |
} |
} |
} |
} |
if ($reinitcheck eq 'update') { |
if (($reinitcheck eq 'main') || ($reinitcheck eq 'both')) { |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
$r->print(&reinited_js($url,$env{'request.course.id'},100)); |
$r->print(&reinited_js($url,$env{'request.course.id'},100)); |
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |
Line 822 ENDSTART
|
Line 822 ENDSTART
|
} |
} |
} else { |
} else { |
# ------------------------------------------------- Problem, could not tie hash |
# ------------------------------------------------- Problem, could not tie hash |
if ($reinitcheck eq 'update') { |
if (($reinitcheck eq 'main') || ($reinitcheck eq 'both')) { |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |
} |
} |
Line 832 ENDSTART
|
Line 832 ENDSTART
|
} else { |
} else { |
# ---------------------------------------- No, could not determine where we are |
# ---------------------------------------- No, could not determine where we are |
my $newloc = '/adm/ambiguous'; |
my $newloc = '/adm/ambiguous'; |
if ($reinitcheck eq 'update') { |
if (($reinitcheck eq 'main') || ($reinitcheck eq 'both')) { |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
$r->print(&reinited_js($newloc,$env{'request.course.id'},100)); |
$r->print(&reinited_js($newloc,$env{'request.course.id'},100)); |
$r->print(&Apache::loncommon::end_page()); |
$r->print(&Apache::loncommon::end_page()); |