Only update a document's _id and _rev if the save was successful.

Thanks Jason Davies.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793218 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: b3a823d1c53e33b3a42b1b238a5ddfd7e97f7ac0
  1. jquery.couch.js