From e0bb88fabb7bcd9e4a491117ea004153262c53aa Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Thu, 17 Jun 2010 23:17:15 +0000 Subject: 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 --- share/www/script/jquery.couch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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) { -- cgit v1.2.3