mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-24 14:27:56 -05:00
Ajax.processData is left as the default if emulateJSON is set to true
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user