Commit 885a7df6 by Simon Chen Committed by GitHub

Merge pull request #15155 from edx/schen/learner-490

Update CMS jquery config to remove script evaluation from ajax call
parents 79300c00 0271b447
......@@ -27,7 +27,10 @@
headers: {
'X-CSRFToken': $.cookie('csrftoken')
},
dataType: 'json'
dataType: 'json',
content: {
script: false
}
});
$(document).ajaxError(function(event, jqXHR, ajaxSettings) {
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