[CMF-checkins] CVS: CMF/CMFCollector/skins/collector - collector_issue_followup.py:1.3

Ken Manheimer klm@zope.com
Fri, 12 Oct 2001 21:24:22 -0400


Update of /cvs-repository/CMF/CMFCollector/skins/collector
In directory cvs.zope.org:/tmp/cvs-serv10781

Modified Files:
	collector_issue_followup.py 
Log Message:
Add file-upload provisions.


=== CMF/CMFCollector/skins/collector/collector_issue_followup.py 1.2 => 1.3 ===
 ##title=Submit a new comment.
 
+REQUEST = context.REQUEST
+
 context.do_action(action,
                   comment,
-                  attachments=context.REQUEST.get('attachments', []),
-                  assignees=context.REQUEST.get('assignees', []))
+                  assignees=REQUEST.get('assignees', []),
+                  file=REQUEST.get('file'),
+                  fileid=REQUEST.get('fileid', ''),
+                  filetype=(REQUEST.get('filetype', 'file')))
 
 context.REQUEST.RESPONSE.redirect(context.absolute_url())