Diff for /loncom/interface/lonnavdisplay.pm between versions 1.22.4.10.2.4 and 1.22.4.10.2.5

version 1.22.4.10.2.4, 2024/08/20 00:05:44 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();
     }      }
   

Removed from v.1.22.4.10.2.4  
changed lines
  Added in v.1.22.4.10.2.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>