Commit aca78cad authored by Jérome Perrin's avatar Jérome Perrin

In the TALES context for the editable field, 'cell' is supposed to be the

brain, not the object.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19880 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3a848065
......@@ -2085,7 +2085,7 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine):
# use the 'cell' value (refer to get_value method in Form.py)
cell_request = brain.asContext( REQUEST = self.renderer.request
, form = self.renderer.request.form
, cell = self.getObject()
, cell = brain
)
if editable_field.get_value('enabled', REQUEST=cell_request):
cell_html = editable_field.render( \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment