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

Force dataType to 'text json'
This commit is contained in:
David Ormsbee
2012-07-18 08:37:26 -07:00

View File

@@ -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]);
},