couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r954888 - /couchdb/branches/0.11.x/share/www/script/jquery.couch.js
Date Tue, 15 Jun 2010 14:00:03 GMT
Author: jan
Date: Tue Jun 15 14:00:02 2010
New Revision: 954888

URL: http://svn.apache.org/viewvc?rev=954888&view=rev
Log:
Partial merge of r949028 from trunk:

Fix some bugs in jquery.couch.js.

Namely:

 * bulkSave() wasn't sending a POST body.

Modified:
    couchdb/branches/0.11.x/share/www/script/jquery.couch.js

Modified: couchdb/branches/0.11.x/share/www/script/jquery.couch.js
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/share/www/script/jquery.couch.js?rev=954888&r1=954887&r2=954888&view=diff
==============================================================================
--- couchdb/branches/0.11.x/share/www/script/jquery.couch.js [utf-8] (original)
+++ couchdb/branches/0.11.x/share/www/script/jquery.couch.js [utf-8] Tue Jun 15 14:00:02 2010
@@ -289,7 +289,7 @@
           ajax({
               type: "POST",
               url: this.uri + "_bulk_docs" + encodeOptions(options),
-              data: toJSON(docs)
+              contentType: "application/json", data: toJSON(docs)
             },
             options,
             "The documents could not be saved"



Mime
View raw message