web/views/workflow.py
branchstable
changeset 3350 fa77640a9155
parent 3339 d1d643ef37f7
child 3369 7b88d12b4ee2
child 3487 2e705d9fdaf1
--- a/web/views/workflow.py	Mon Sep 21 18:03:10 2009 +0200
+++ b/web/views/workflow.py	Mon Sep 21 18:09:38 2009 +0200
@@ -64,7 +64,7 @@
         # not entity_implements) is used on custom form
         form = self.vreg['forms'].select(
             'changestate', self.req, rset=self.rset, row=row, col=col,
-            entity=entity, treid=transition.eid,
+            entity=entity, transition=transition,
             redirect_path=self.redirectpath(entity))
         self.w(form.error_message())
         self.w(u'<h4>%s %s</h4>\n' % (_(transition.name),