--- loncom/interface/loncommon.pm 2004/11/30 22:57:16 1.236 +++ loncom/interface/loncommon.pm 2004/12/01 23:18:23 1.237 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.236 2004/11/30 22:57:16 albertel Exp $ +# $Id: loncommon.pm,v 1.237 2004/12/01 23:18:23 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2606,8 +2606,8 @@ ENDROLE ($ENV{'request.filename'} =~ m|^/home/([^/]+)/public_html/(.*)|); my $formaction='/priv/'.$uname.'/'.$thisdisfn; $formaction=~s/\/+/\//g; - unless ($customtitle) { - my $parentpath = $thisdisfn; + unless ($customtitle) { #this is for resources; directories have customtitle, and crumbs and select recent are created in lonpubdir.pm + my $parentpath = ''; if ($thisdisfn =~ m-(.+/)[^/]*$-) { $parentpath = $1; }