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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user