--- loncom/publisher/lonpubdir.pm 2023/11/17 17:02:22 1.181 +++ loncom/publisher/lonpubdir.pm 2023/11/28 22:28:05 1.182 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Authoring Space Directory Lister # -# $Id: lonpubdir.pm,v 1.181 2023/11/17 17:02:22 raeburn Exp $ +# $Id: lonpubdir.pm,v 1.182 2023/11/28 22:28:05 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -931,7 +931,7 @@ sub putresource { my $editlink=''; my $editlink2=''; - if ($filename=~/\.(xml|html|htm|xhtml|xhtm|sty)$/) { + if ($filename=~/\.(xml|html|htm|xhtml|xhtm|sty|txt|css|js)$/) { $editlink='
('.&mt('Edit').')'; } if ($filename=~/$LONCAPA::assess_re/) {