Commit 3a1c12f6 authored by Rafael Monnerat's avatar Rafael Monnerat

Undone. This was braking the planning box links.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15199 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8891e872
......@@ -1941,12 +1941,13 @@ class BasicGroup:
# This approach is also used by ListBox, but in Planning Box
# the parameters are not important for now. In future, can be define
# special sublinks using this implementation.
if getattr(activity_content, 'getListItemUrl', None):
url = activity_content.getListItemUrl(cname_id='',
selection_index='',
selection_name=self.field.get_value('selection_name'))
else:
url = object.getUrl()
#if getattr(activity_content, 'getListItemUrl', None):
# url = activity_content.getListItemUrl(cname_id='',
# selection_index='',
# selection_name=self.field.get_value('selection_name'))
#else:
# url = object.getUrl()
url = object.getUrl()
# XXX should define height of block here
height = None
......
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