--- loncom/homework/essayresponse.pm 2008/12/09 00:23:22 1.93 +++ loncom/homework/essayresponse.pm 2008/12/15 20:00:21 1.94 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # essay (ungraded) style responses # -# $Id: essayresponse.pm,v 1.93 2008/12/09 00:23:22 raeburn Exp $ +# $Id: essayresponse.pm,v 1.94 2008/12/15 20:00:21 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -318,12 +318,13 @@ sub file_submission { if ($which eq 'filename') { &delete_form_items($jspart,$id); } + } else { + push(@accepted_files,$file); } } else { push(@accepted_files,$file); } } - my $uploadedfiletypes= &Apache::lonnet::EXT("resource.$part".'_'."$id.uploadedfiletypes"); $Apache::lonhomework::results{"resource.$part.$id.$which"}=join(',',@accepted_files); if (($$award eq 'INVALID_FILETYPE') || ($award eq 'EXCESS_FILESIZE')) { return;