couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r905121 - /couchdb/trunk/share/www/script/jquery.couch.js
Date Sun, 31 Jan 2010 21:16:21 GMT
Author: jan
Date: Sun Jan 31 21:16:19 2010
New Revision: 905121

URL: http://svn.apache.org/viewvc?rev=905121&view=rev
Log:
fix bulkSave(). Patch insipred by Lena Herrmann. Closes COUCHDB-634

Modified:
    couchdb/trunk/share/www/script/jquery.couch.js

Modified: couchdb/trunk/share/www/script/jquery.couch.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/jquery.couch.js?rev=905121&r1=905120&r2=905121&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/jquery.couch.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/jquery.couch.js [utf-8] Sun Jan 31 21:16:19 2010
@@ -288,7 +288,8 @@
           $.extend(options, {successStatus: 201});
           ajax({
               type: "POST",
-              url: this.uri + "_bulk_docs" + encodeOptions(options)
+              url: this.uri + "_bulk_docs" + encodeOptions(options),
+              data: toJSON(docs)
             },
             options,
             "The documents could not be saved"



Mime
View raw message