From b85c116caf65a654ff2626841262b2a005edd092 Mon Sep 17 00:00:00 2001 From: Devin Hunt Date: Wed, 27 Jul 2011 10:59:30 +0100 Subject: [PATCH] Ajax.processData is left as the default if emulateJSON is set to true --- backbone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backbone.js b/backbone.js index 15c3ad312..cd777c416 100644 --- a/backbone.js +++ b/backbone.js @@ -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; }