[CMF-checkins] CVS: CMF - content_status_modify.py:1.2

tseaver@digicool.com tseaver@digicool.com
Wed, 20 Jun 2001 00:05:51 -0400 (EDT)


Update of /cvs-repository/CMF/CMFDefault/skins/content
In directory korak.digicool.com:/tmp/cvs-serv11572/CMFDefault/skins/content

Modified Files:
	content_status_modify.py 
Log Message:
 - Merge return fix.


--- Updated File content_status_modify.py in package CMF --
--- content_status_modify.py	2001/06/18 19:39:33	1.1
+++ content_status_modify.py	2001/06/20 04:05:51	1.2
@@ -6,8 +6,9 @@
     context,
     workflow_action,
     comment=comment)
- 
-return context.view(context,
-                    context.REQUEST,
-                    portal_status_message='Status changed.')
+
+context.REQUEST[ 'RESPONSE' ].redirect( '%s/view?%s'
+                   % ( context.absolute_url()
+                     , 'portal_status_message=Status+changed.'
+                     ) )