version 1.22.4.10.2.3, 2023/01/20 23:15:35
|
version 1.22.4.10.2.5, 2025/02/07 20:58:59
|
Line 129 ENDCLOSE
|
Line 129 ENDCLOSE
|
my $navmap = Apache::lonnavmaps::navmap->new(); |
my $navmap = Apache::lonnavmaps::navmap->new(); |
|
|
if (!defined($navmap)) { |
if (!defined($navmap)) { |
if ($result eq 'update') { |
if (($result eq 'main') || ($result eq 'both')) { |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
$r->print($closure.&Apache::loncommon::end_page()); |
$r->print($closure.&Apache::loncommon::end_page()); |
} |
} |
Line 139 ENDCLOSE
|
Line 139 ENDCLOSE
|
return HTTP_NOT_ACCEPTABLE; |
return HTTP_NOT_ACCEPTABLE; |
} |
} |
|
|
if ($result eq 'update') { |
if (($result eq 'main') || ($result eq 'both')) { |
$r->rflush(); |
$r->rflush(); |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
$r->print($closure); |
$r->print($closure); |
Line 152 ENDCLOSE
|
Line 152 ENDCLOSE
|
} |
} |
|
|
&startContentScreen($r,'navmaps'); |
&startContentScreen($r,'navmaps'); |
unless ($result eq 'update') { |
unless (($result eq 'main') || ($result eq 'both')) { |
$r->rflush(); |
$r->rflush(); |
} |
} |
|
|
Line 340 sub startpage {
|
Line 340 sub startpage {
|
no_mt => 1}, |
no_mt => 1}, |
]; |
]; |
my $args = {'bread_crumbs' => $brcrum}; |
my $args = {'bread_crumbs' => $brcrum}; |
my $start_page = &Apache::loncommon::start_page($title,undef,$args); |
$r->print(&Apache::loncommon::start_page($title,undef,$args). |
$r->print($start_page. |
|
'<script type="text/javascript">'."\n". |
'<script type="text/javascript">'."\n". |
'// <![CDATA['."\n". |
'// <![CDATA['."\n". |
'window.focus();'."\n". |
'window.focus();'."\n". |