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

Update CMS jquery config to remove script evaluation from ajax call
This commit is contained in:
Simon Chen
2017-05-19 14:21:08 -04:00
committed by GitHub

View File

@@ -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,