--- a/web/views/boxes.py Mon Oct 01 12:40:35 2012 +0200
+++ b/web/views/boxes.py Mon Sep 24 16:45:26 2012 +0200
@@ -48,7 +48,7 @@
BoxTemplate = box.BoxTemplate
BoxHtml = htmlwidgets.BoxHtml
-class EditBox(component.CtxComponent): # XXX rename to ActionsBox
+class EditBox(component.CtxComponent):
"""
box with all actions impacting the entity displayed: edit, copy, delete
change state, add related entities...
@@ -58,6 +58,7 @@
title = _('actions')
order = 2
contextual = True
+ __select__ = component.CtxComponent.__select__ & non_final_entity()
def init_rendering(self):
super(EditBox, self).init_rendering()