Commit b36a4aa1 authored by Yoshinori Okuji's avatar Yoshinori Okuji

editable is different from enabled.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31095 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0a0f13da
......@@ -2334,7 +2334,7 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine):
if url is None:
html = cell_html + error_message
else:
if enabled:
if editable_field.get_value('editable', REQUEST=request):
html = u'%s' % cell_html
else:
html = u'<a href="%s">%s</a>' % (url, cell_html)
......
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