Commit 1afd4fd0 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Small fix

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10049 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 79594ad1
......@@ -116,7 +116,7 @@ class ZPyChartWidget(Widget.Widget):
selection.edit(method_id = data_method) # XXX This is probably wrong
# Return an image field
return """<img src="%s/download?selection_name=%s&chart_title=%s&data_method=%s&x_title=%s&y_title=%s"/>""" % (self.absolute_url(), selection_name, chart_title, data_method, x_title, y_title)
return """<img src="%s/download?selection_name=%s&chart_title=%s&data_method=%s&x_title=%s&y_title=%s"/>""" % (field.absolute_url(), selection_name, chart_title, data_method, x_title, y_title)
ZPyChartWidgetInstance = ZPyChartWidget()
......
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