couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [08/50] jquery-couch commit: updated refs/heads/import-master to 66dbcbf
Date Tue, 01 Apr 2014 08:52:13 GMT
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


Project: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/commit/53401dbe
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/tree/53401dbe
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/diff/53401dbe

Branch: refs/heads/import-master
Commit: 53401dbe136407b7b4d54eb8a5edeb90f6b8941c
Parents: 41d1950
Author: Jan Lehnardt <jan@apache.org>
Authored: Sun Jan 31 21:16:19 2010 +0000
Committer: Alexander Shorin <kxepal@gmail.com>
Committed: Sun Jan 31 21:16:19 2010 +0000

----------------------------------------------------------------------
 jquery.couch.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/blob/53401dbe/jquery.couch.js
----------------------------------------------------------------------
diff --git a/jquery.couch.js b/jquery.couch.js
index 1925b3b..10c1e4b 100644
--- a/jquery.couch.js
+++ b/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"


Mime
View raw message