--- loncom/interface/lonmenu.pm 2016/11/22 00:43:12 1.462 +++ loncom/interface/lonmenu.pm 2016/11/29 03:01:04 1.463 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.462 2016/11/22 00:43:12 raeburn Exp $ +# $Id: lonmenu.pm,v 1.463 2016/11/29 03:01:04 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1035,9 +1035,9 @@ sub get_editbutton { my ($cfile,$home,$switchserver,$forceedit,$forceview,$forcereg) = @_; my $jscall; if (($forceview) && ($env{'form.todocs'})) { - my ($folderpath,$command); + my ($folderpath,$command,$navmap); if ($env{'request.symb'}) { - $folderpath = &Apache::loncommon::symb_to_docspath($env{'request.symb'}); + $folderpath = &Apache::loncommon::symb_to_docspath($env{'request.symb'},\$navmap); } elsif ($env{'form.folderpath'} =~ /^supplemental/) { $folderpath = $env{'form.folderpath'}; $command = '&forcesupplement=1';