Commit 9688e72f authored by Rafael Monnerat's avatar Rafael Monnerat

Fix typo.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43332 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ce9415b9
......@@ -90,7 +90,7 @@ class AudioWidget(Widget.TextWidget):
script_element = """<script language="JavaScript">
flowplayer("player", "%s/flowplayer.swf");
</script>""" % self.getContext(field, REQUEST).getPortalObject().portal_url()
return ' '.join(a_element,script_element)
return ' '.join([a_element,script_element])
def get_javascript_list(self, field, REQUEST=None):
......
......@@ -107,7 +107,7 @@ class VideoWidget(Widget.TextWidget):
script_element = """<script language="JavaScript">
flowplayer("player", "%s/flowplayer.swf");
</script>""" % self.getContext(field, REQUEST).getPortalObject().portal_url()
return ' '.join(a_element,script_element)
return ' '.join([a_element,script_element])
def get_javascript_list(self, field, REQUEST=None):
"""
......
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