Fix static URL translation for templates rendered on the client side.
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.
Showing
Please
register
or
sign in
to comment