# HG changeset patch # User Aurelien Campeas # Date 1348497926 -7200 # Node ID 1ac70b1bf00eb2f9e129091dfc9fb01170cdb8e8 # Parent 76bcfb3c483d55720db773e086d0ccb3b007276e [views/boxes] re-establish the proper selector (closes #2496294) diff -r 76bcfb3c483d -r 1ac70b1bf00e web/views/boxes.py --- 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()