Commit 0271b447 by Simon Chen

Update CMS jquery config to remove script evaluation from ajax call

parent 9380b6b5
...@@ -27,7 +27,10 @@ ...@@ -27,7 +27,10 @@
headers: { headers: {
'X-CSRFToken': $.cookie('csrftoken') 'X-CSRFToken': $.cookie('csrftoken')
}, },
dataType: 'json' dataType: 'json',
content: {
script: false
}
}); });
$(document).ajaxError(function(event, jqXHR, ajaxSettings) { $(document).ajaxError(function(event, jqXHR, ajaxSettings) {
var msg, contentType, var msg, contentType,
......
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