Force dataType to 'text json'

This commit is contained in:
Matthew Mongeau
2012-07-18 11:36:20 -04:00
parent 0c5395a5dc
commit 7d3c778268

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