Merge pull request #202 from MITx/mm-force-json-encoding
Force dataType to 'text json'
This commit is contained in:
@@ -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]);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user