Commit 76765f4c authored by Romain Courteaud's avatar Romain Courteaud

Revert r19228, which break planningbox editor.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19911 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 933cae21
...@@ -1867,9 +1867,6 @@ class BasicGroup: ...@@ -1867,9 +1867,6 @@ class BasicGroup:
#else: #else:
# url = object.getUrl() # url = object.getUrl()
url = object.getUrl() url = object.getUrl()
if url is not None:
# View is considered the default action from one object
url += "/view"
# XXX should define height of block here # XXX should define height of block here
#height = None #height = None
...@@ -1961,9 +1958,6 @@ class BasicGroup: ...@@ -1961,9 +1958,6 @@ class BasicGroup:
# get object url, not group url # get object url, not group url
url = self.object.getObject().getUrl() url = self.object.getObject().getUrl()
if url is not None:
# View is considered the default action from one object
url += "/view"
# creating new activity instance # creating new activity instance
activity=BasicActivity(title=info['info_center'], name=name, activity=BasicActivity(title=info['info_center'], name=name,
......
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