poll.py
33.6 KB
-
Fix static URL translation for templates rendered on the client side. · 16e742e8
When rendering a fragment on the server side, there is magic in edX to translate /static/... URLs to the actual file locations. That magic does not apply for URLs transmitted in AJAX responses and used in templates on the client side. This fix translates the URLs in the JSON response before sending it back to the client.
Sven Marnach committed