Update CMS jquery config to remove script evaluation from ajax call

This commit is contained in:
Simon Chen
2017-05-19 13:26:53 -04:00
parent 9380b6b594
commit 0271b4479c

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,