--- loncom/interface/portfolio.pm 2007/06/21 20:25:18 1.185 +++ loncom/interface/portfolio.pm 2007/07/10 20:51:46 1.186 @@ -1,7 +1,7 @@ # The LearningOnline Network # portfolio browser # -# $Id: portfolio.pm,v 1.185 2007/06/21 20:25:18 banghart Exp $ +# $Id: portfolio.pm,v 1.186 2007/07/10 20:51:46 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1728,7 +1728,8 @@ ENDSMP fileList = fileList + document.forms.checkselect.currentpath.value + document.forms.checkselect[i].value + "," ; } } - opener.document.forms.lonhomework.$env{'form.fieldname'}.value=fileList; + var hwfield = opener.document.getElementsByName('$env{'form.fieldname'}'); + hwfield[0].value = fileList; self.close(); }