Commit b2ed5f4b authored by Rafael Monnerat's avatar Rafael Monnerat

Use absolute url to make it work with virtual hosts.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22530 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent efed45a6
...@@ -911,7 +911,7 @@ class PlanningBoxWidget(Widget.Widget): ...@@ -911,7 +911,7 @@ class PlanningBoxWidget(Widget.Widget):
# XXX Instead of harcoding library name # XXX Instead of harcoding library name
# it should be better to call a python script, as # it should be better to call a python script, as
# it is done on type base method. # it is done on type base method.
return ['%s/wz_dragdrop.js' % context.portal_url.getPortalPath()] return ['%s/wz_dragdrop.js' % context.portal_url()]
else: else:
return [] return []
......
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