--- loncom/interface/portfolio.pm	2004/11/02 14:35:42	1.53
+++ loncom/interface/portfolio.pm	2004/11/03 21:02:49	1.54
@@ -340,7 +340,7 @@ sub select_files {
             fileList = "";
             for (i=0;i<document.forms.checkselect.length;i++) { 
                 if (document.forms.checkselect[i].checked){
-                    fileList = fileList + document.forms.checkselect[i].value + "," ;
+                    fileList = fileList + document.forms.checkselect.currentpath.value + document.forms.checkselect[i].value + "," ;
                 }
             }
             opener.document.forms.lonhomework.