--- loncom/xml/lonxml.pm 2012/11/30 11:45:57 1.535 +++ loncom/xml/lonxml.pm 2012/12/06 13:54:47 1.536 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.535 2012/11/30 11:45:57 foxr Exp $ +# $Id: lonxml.pm,v 1.536 2012/12/06 13:54:47 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1667,8 +1667,10 @@ sub handler { my ($filetype,$breadcrumbtext); if ($file =~ /\.(sty|css|js|txt|tex)$/) { $filetype=$1; + $env{'request.uri'}=$request->uri; } else { $filetype='html'; + $env{'request.uri'}=$request->uri; } if ($filetype eq 'sty') { $breadcrumbtext = 'Style File Editor';