summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-01-31 21:16:19 +0000
committerJan Lehnardt <jan@apache.org>2010-01-31 21:16:19 +0000
commit70544a1352d627503b788d45e4f6d3e978c46560 (patch)
tree4e967f62bd3169e63cf40e6be2d0b73cc560925a /share
parent8b3d706b70bd55f5a3a37ff48c9b809aacf2a8cb (diff)
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
Diffstat (limited to 'share')
-rw-r--r--share/www/script/jquery.couch.js3
1 files changed, 2 insertions, 1 deletions
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"