web/views/actions.py
changeset 8306 4da49700b06a
parent 8267 486386d9f836
child 8665 e65af61bde7d
--- a/web/views/actions.py	Tue Mar 13 14:11:40 2012 +0100
+++ b/web/views/actions.py	Thu Mar 15 14:26:12 2012 +0100
@@ -86,7 +86,7 @@
     "Select entities having public (i.e. end-user) undoable transactions."
 
     def score_entity(self, entity):
-        if not entity._cw.vreg.config['undo-support']:
+        if not entity._cw.vreg.config['undo-enabled']:
             return 0
         if entity._cw.cnx.undoable_transactions(eid=entity.eid):
             return 1