Skip to content

Commit

Permalink
Merge aab756b into ab3b5eb
Browse files Browse the repository at this point in the history
  • Loading branch information
fizista committed Aug 19, 2016
2 parents ab3b5eb + aab756b commit 5696465
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tinymce/views.py
Expand Up @@ -105,4 +105,9 @@ def filebrowser(request):
except:
fb_url = request.build_absolute_uri(urlresolvers.reverse('filebrowser:fb_browse'))

return render(request, 'tinymce/filebrowser.js', {'fb_url': fb_url})
return render(
request,
'tinymce/filebrowser.js',
{'fb_url': fb_url},
content_type='application/javascript'
)

0 comments on commit 5696465

Please sign in to comment.