Commit 7d3c7782 by Matthew Mongeau

Force dataType to 'text json'

parent 0c5395a5
......@@ -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