Ajax.processData is left as the default if emulateJSON is set to true

This commit is contained in:
Devin Hunt
2011-07-27 10:59:30 +01:00
parent 22456de207
commit b85c116caf

View File

@@ -1070,7 +1070,7 @@
}
// Don't process data on a non-GET request.
if (params.type !== 'GET') {
if (params.type !== 'GET' && ! Backbone.emulateJSON) {
params.processData = false;
}