Commit 776b81e1 authored by Romain Courteaud's avatar Romain Courteaud

Do not expect to find the template field in the first field library of the skin selection.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35769 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c0418fde
...@@ -574,10 +574,7 @@ class ProxyField(ZMIField): ...@@ -574,10 +574,7 @@ class ProxyField(ZMIField):
""" """
proxy_field = self.getTemplateField() proxy_field = self.getTemplateField()
if proxy_field: if proxy_field:
url='/'.join((self.absolute_url(), url = "%s/manage_main" % proxy_field.absolute_url()
self.get_value('form_id'),
self.get_value('field_id'),
'manage_main'))
REQUEST.RESPONSE.redirect(url) REQUEST.RESPONSE.redirect(url)
else: else:
# FIXME: should show some error message # FIXME: should show some error message
......
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