--- loncom/interface/lonhtmlcommon.pm 2007/05/07 14:02:45 1.158 +++ loncom/interface/lonhtmlcommon.pm 2007/07/11 20:32:15 1.160 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.158 2007/05/07 14:02:45 raeburn Exp $ +# $Id: lonhtmlcommon.pm,v 1.160 2007/07/11 20:32:15 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -140,6 +140,7 @@ sub select_recent { foreach my $value (sort(keys(%recent))) { unless ($value =~/^error\:/) { my $escaped = &Apache::loncommon::escape_url($value); + &Apache::loncommon::inhibit_menu_check(\$escaped); $return.="\n'; @@ -852,7 +853,7 @@ sub Create_PrgWin { popwin=open(\'\',\'popwin\',\'width=400,height=100\');". "popwin.document.writeln(\'".$start_page. "

$heading<\/h4>". - "
". + "". '<\\/form>'.$end_page. "\');". @@ -864,7 +865,7 @@ sub Create_PrgWin { $prog_state{'window'}='window'; if (!$formname) { $prog_state{'formname'}=&get_uniq_name(); - &r_print($r,''); + &r_print($r,''); } else { $prog_state{'formname'}=$formname; } @@ -891,7 +892,7 @@ sub Create_PrgWin { # update progress sub Update_PrgWin { my ($r,$prog_state,$displayString)=@_; - &r_print($r,''); @@ -1003,13 +1004,9 @@ sub crumbs { } else { $path.='/'; } - my $linkpath = &Apache::loncommon::escape_single($path); - if ($form) { - $linkpath= - qq{javascript:$form.action='$linkpath';$form.submit();}; - } my $href_path = &HTML::Entities::encode($path,'<>&"'); - $output.=qq{$dir/}; + &Apache::loncommon::inhibit_menu_check(\$href_path); + $output.=qq{$dir/}; } } else { foreach my $dir (split('/',$uri)) {