summaryrefslogtreecommitdiff
path: root/share/www/script/jquery.couch.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/jquery.couch.js')
-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"