Permalink
Browse files

Fixed widget media property that was not always a list.

git-svn-id: http://django-tinymce.googlecode.com/svn/trunk@66 d77dbfcb-f654-0410-9b52-53af79b86e66
  • Loading branch information...
1 parent efac3bd commit 7236f7fe859b6925f27316ae7a4af732e195a4b0 joost@cassee.net committed Jan 18, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 tinymce/widgets.py
View
@@ -81,7 +81,7 @@ def _media(self):
if tinymce.settings.USE_COMPRESSOR:
js = [reverse('tinymce-compressor')]
else:
- js = tinymce.settings.JS_URL
+ js = [tinymce.settings.JS_URL]
if tinymce.settings.USE_FILEBROWSER:
js.append(reverse('tinymce-filebrowser'))
return forms.Media(js=js)

0 comments on commit 7236f7f

Please sign in to comment.