From 70544a1352d627503b788d45e4f6d3e978c46560 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Sun, 31 Jan 2010 21:16:19 +0000 Subject: fix bulkSave(). Patch insipred by Lena Herrmann. Closes COUCHDB-634 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905121 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/jquery.couch.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js index 68672629..0dcadc99 100644 --- a/share/www/script/jquery.couch.js +++ b/share/www/script/jquery.couch.js @@ -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" -- cgit v1.2.3