--- loncom/interface/lonnavmaps.pm 2001/01/06 13:45:37 1.2 +++ loncom/interface/lonnavmaps.pm 2001/01/06 20:08:10 1.4 @@ -146,20 +146,6 @@ sub handler { } } -# ------------------------------------------------------------ Add to symb list - - my $i; - my %symbhash=(); - for ($i=0;$i<=$#rows;$i++) { - if ($rows[$i]) { - my @colcont=split(/\&/,$rows[$i]); - map { - $symbhash{$hash{'src_'.$_}}=''; - } @colcont; - } - } - &Apache::lonnet::symblist($requrl,%symbhash); - # ------------------------------------------------------------------ Page parms my $j; @@ -175,6 +161,7 @@ sub handler { $lcm*=($#colcont+1)/euclid($lcm,($#colcont+1)); } } + } unless ($contents) { $r->content_type('text/html'); @@ -192,7 +179,7 @@ sub handler { $r->print(''. '

Navigate Course Map

'); - + $r->rflush(); # ----------------------------------------------------------------- Start table $r->print(''); for ($i=0;$i<=$#rows;$i++) { @@ -232,6 +219,7 @@ sub handler { } } } + $ENV{'user.error.msg'}="$requrl:bre:0:0:Course not initialized"; return HTTP_NOT_ACCEPTABLE; }