Commit cae5c99e by David Ormsbee

Merge pull request #202 from MITx/mm-force-json-encoding

Force dataType to 'text json'
parents 0c5395a5 7d3c7782
......@@ -11,6 +11,7 @@
var options = {
type: method || 'GET',
data: data,
dataType: 'text json',
success: function(data, status, xhr) {
element.trigger("ajax:success", [data, status, xhr]);
},
......
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