Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6DD9105EB for ; Tue, 1 Apr 2014 08:53:43 +0000 (UTC) Received: (qmail 22931 invoked by uid 500); 1 Apr 2014 08:52:55 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 22049 invoked by uid 500); 1 Apr 2014 08:52:24 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 21339 invoked by uid 99); 1 Apr 2014 08:52:08 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2014 08:52:08 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 44D2991B1F9; Tue, 1 Apr 2014 08:52:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kxepal@apache.org To: commits@couchdb.apache.org Date: Tue, 01 Apr 2014 08:52:37 -0000 Message-Id: <2badb8eeba5d4ca58a3e3d0261287b8a@git.apache.org> In-Reply-To: <9b1fa52a5b7c4e23a6ef348e7963b27c@git.apache.org> References: <9b1fa52a5b7c4e23a6ef348e7963b27c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [32/50] jquery-couch commit: updated refs/heads/import-master to 66dbcbf Don't expect a 202 repsponse code when cancelling a replication. Closes COUCHDB-1016 Patch by Felix Hummel. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1094024 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/eeac4c31 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/tree/eeac4c31 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/diff/eeac4c31 Branch: refs/heads/import-master Commit: eeac4c31593f88f0596ae91fcb3fb999975cda54 Parents: e0f9e04 Author: Jan Lehnardt Authored: Sat Apr 16 18:29:03 2011 +0000 Committer: Alexander Shorin Committed: Sat Apr 16 18:29:03 2011 +0000 ---------------------------------------------------------------------- jquery.couch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/blob/eeac4c31/jquery.couch.js ---------------------------------------------------------------------- diff --git a/jquery.couch.js b/jquery.couch.js index cf0ebef..cd6977f 100644 --- a/jquery.couch.js +++ b/jquery.couch.js @@ -572,7 +572,7 @@ replicate: function(source, target, ajaxOptions, repOpts) { repOpts = $.extend({source: source, target: target}, repOpts); - if (repOpts.continuous) { + if (repOpts.continuous && !repOpts.cancel) { ajaxOptions.successStatus = 202; } ajax({