--- loncom/homework/essayresponse.pm 2004/10/25 21:41:58 1.42
+++ loncom/homework/essayresponse.pm 2004/10/26 21:27:10 1.43
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# essay (ungraded) style responses
#
-# $Id: essayresponse.pm,v 1.42 2004/10/25 21:41:58 banghart Exp $
+# $Id: essayresponse.pm,v 1.43 2004/10/26 21:27:10 banghart Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -75,7 +75,11 @@ sub start_essayresponse {
'
'.
''.
'
';
- if ($uploadedfile) {
+ if ($portfile=~/[^\s]/){
+ $result.="Portfolio files previously selected: ".$Apache::lonhomework::history{"resource.$part.$id.portfiles"}."
";
+ }
+
+ if ($uploadedfile) {
my $url=$Apache::lonhomework::history{"resource.$part.$id.uploadedurl"};
push (@Apache::lonxml::extlinks,$url);
&Apache::lonnet::allowuploaded('/adm/essayresponse',$url);