web/views/boxes.py
changeset 1113 5608c79c789b
parent 859 17555e9b9854
child 1214 25480a710422
--- a/web/views/boxes.py	Fri Mar 13 11:05:37 2009 +0100
+++ b/web/views/boxes.py	Fri Mar 13 11:06:21 2009 +0100
@@ -111,7 +111,7 @@
             if transitions:
                 menu_title = u'%s: %s' % (_('state'), state.view('text'))
                 menu_items = []
-                for tr in state.transitions(entity):
+                for tr in transitions:
                     url = entity.absolute_url(vid='statuschange', treid=tr.eid)
                     menu_items.append(self.mk_action(_(tr.name), url))
                 box.append(BoxMenu(menu_title, menu_items))