[Erp5-report] r17655 - /erp5/trunk/products/ERP5Form/MultiRelationField.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Nov 16 18:17:44 CET 2007


Author: yusei
Date: Fri Nov 16 18:17:43 2007
New Revision: 17655

URL: http://svn.erp5.org?rev=17655&view=rev
Log:
Don't include virtual host path which is not controlled by zope in method arguments in name attribute.

Modified:
    erp5/trunk/products/ERP5Form/MultiRelationField.py

Modified: erp5/trunk/products/ERP5Form/MultiRelationField.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/MultiRelationField.py?rev=17655&r1=17654&r2=17655&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/MultiRelationField.py (original)
+++ erp5/trunk/products/ERP5Form/MultiRelationField.py Fri Nov 16 18:17:43 2007
@@ -307,7 +307,7 @@
     here = REQUEST['here']
     portal_url = getToolByName(here, '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:
       sub_index_string = ''
     else:




More information about the Erp5-report mailing list