Commit 3b970863 authored by Yusei Tahara's avatar Yusei Tahara

Don't include virtual host path which is not controlled by zope in method...

Don't include virtual host path which is not controlled by zope in method arguments in name attribute.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17655 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 12f6f357
...@@ -307,7 +307,7 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget, ...@@ -307,7 +307,7 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget,
here = REQUEST['here'] here = REQUEST['here']
portal_url = getToolByName(here, 'portal_url') portal_url = getToolByName(here, 'portal_url')
portal_url_string = portal_url() portal_url_string = portal_url()
portal_selections_url_string = here.portal_selections.absolute_url_path() portal_selections_url_string = here.portal_url.getRelativeContentURL(here.portal_selections)
if sub_index is None: if sub_index is None:
sub_index_string = '' sub_index_string = ''
else: else:
......
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