Commit 72a08bdc authored by Romain Courteaud's avatar Romain Courteaud

Bug fix to display image in ListBox.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2409 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 043ad6d9
...@@ -68,7 +68,8 @@ class ImageFieldWidget(Widget.TextWidget): ...@@ -68,7 +68,8 @@ class ImageFieldWidget(Widget.TextWidget):
def render(self, field, key, value, REQUEST): def render(self, field, key, value, REQUEST):
"""Render text input field. """Render text input field.
""" """
image = field.get_value('default') # Url is already defined in value
image = value
display = field.get_value('image_display') display = field.get_value('image_display')
format = field.get_value('image_format') format = field.get_value('image_format')
resolution = field.get_value('image_resolution') resolution = field.get_value('image_resolution')
......
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