[Pkg-javascript-commits] [backbone] 50/74: processData should be true if emulateHttp is true

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 16:59:08 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.3.0
in repository backbone.

commit 501b9ab36cc018c21c5562cf5618d294a5cb236f
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Sat Nov 6 09:52:51 2010 -0400

    processData should be true if emulateHttp is true
---
 backbone.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backbone.js b/backbone.js
index 8de433e..05ea70b 100644
--- a/backbone.js
+++ b/backbone.js
@@ -721,6 +721,7 @@
     // For older servers, emulate JSON/HTTP by encoding the request into
     // HTML-form-style, and mimicking the HTTP method with `_method`
     if (Backbone.emulateHttp) {
+      params.processData = true;
       params.contentType = "application/x-www-form-urlencoded";
       params.data        = sendModel ? {model : modelJSON} : {};
       if (type === 'PUT' || type === 'DELETE') {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git



More information about the Pkg-javascript-commits mailing list