diff options
author | John Christopher Anderson <jchris@apache.org> | 2010-06-17 23:17:15 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2010-06-17 23:17:15 +0000 |
commit | e0bb88fabb7bcd9e4a491117ea004153262c53aa (patch) | |
tree | a7d98e2ed337b2e2eb60f8a89f320f07f5c7ab9b /share/www/script | |
parent | db16441b58fa57c14b5b814ba62d042455e6afd1 (diff) |
jquery.couch.js works with PUT to delete.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@955782 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script')
-rw-r--r-- | share/www/script/jquery.couch.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js index 11d11d0d..292e3378 100644 --- a/share/www/script/jquery.couch.js +++ b/share/www/script/jquery.couch.js @@ -372,7 +372,7 @@ beforeSend : beforeSend, complete: function(req) { var resp = $.httpData(req, "json"); - if (req.status == 201 || req.status == 202) { + if (req.status == 200 || req.status == 201 || req.status == 202) { doc._id = resp.id; doc._rev = resp.rev; if (versioned) { |