web/views/workflow.py
changeset 2680 66472d85d548
parent 2506 965d5e1557ed
child 2726 03e7a6efd960
--- a/web/views/workflow.py	Tue Aug 04 17:02:18 2009 +0200
+++ b/web/views/workflow.py	Tue Aug 04 17:11:50 2009 +0200
@@ -49,7 +49,7 @@
     def cell_call(self, row, col):
         entity = self.entity(row, col)
         state = entity.in_state[0]
-        transition = self.req.eid_rset(self.req.form['treid']).get_entity(0, 0)
+        transition = self.req.entity_from_eid(self.req.form['treid'])
         dest = transition.destination()
         _ = self.req._
         form = self.vreg.select('forms', 'changestate', self.req, rset=self.rset,