summaryrefslogtreecommitdiff
path: root/share/www/script/couch.js
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2010-09-30 12:46:57 +0000
committerRobert Newson <rnewson@apache.org>2010-09-30 12:46:57 +0000
commitf64b4a4bd7ac4c833271591f62010288270bfb93 (patch)
tree9662164348a314705094f5f52456ab7bfe330df9 /share/www/script/couch.js
parent5d918e616119e308ca38dc847dd8165e089557dc (diff)
Revert "COUCHDB-903 - add {ok, true} to COPY result."
This reverts commit 5d918e616119e308ca38dc847dd8165e089557dc. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1003044 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/couch.js')
-rw-r--r--share/www/script/couch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/couch.js b/share/www/script/couch.js
index 633abe96..913f58fb 100644
--- a/share/www/script/couch.js
+++ b/share/www/script/couch.js
@@ -121,7 +121,7 @@ function CouchDB(name, httpHeaders) {
CouchDB.maybeThrowError(this.last_req);
var results = JSON.parse(this.last_req.responseText);
for (var i = 0; i < docs.length; i++) {
- if(results[i] && results[i].rev && results[i].ok) {
+ if(results[i] && results[i].rev) {
docs[i]._rev = results[i].rev;
}
}