[CMF-checkins] CVS: CMF/DCWorkflow - DCWorkflow.py:1.20

Florent Guillaume fg@nuxeo.com
Mon, 9 Sep 2002 10:49:54 -0400


Update of /cvs-repository/CMF/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv27627

Modified Files:
	DCWorkflow.py 
Log Message:
Provide an action id in the actions returned by listObjectActions.


=== CMF/DCWorkflow/DCWorkflow.py 1.19 => 1.20 ===
--- CMF/DCWorkflow/DCWorkflow.py:1.19	Fri Sep  6 12:54:49 2002
+++ CMF/DCWorkflow/DCWorkflow.py	Mon Sep  9 10:49:54 2002
@@ -186,6 +186,7 @@
                 if tdef.actbox_name:
                     if self._checkTransitionGuard(tdef, ob):
                         res.append((tid, {
+                            'id': tid,
                             'name': tdef.actbox_name % info,
                             'url': tdef.actbox_url % info,
                             'permissions': (),  # Predetermined.