summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--THANKS1
-rw-r--r--share/www/script/jquery.couch.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/THANKS b/THANKS
index c7e6e265..0f83e263 100644
--- a/THANKS
+++ b/THANKS
@@ -75,5 +75,6 @@ suggesting improvements or submitting changes. Some of these people are:
* Benjamin Young <byoung@bigbluehat.com>
* Gabriel Farrell <gsf747@gmail.com>
* Mike Leddy <mike@loop.com.br>
+ * Felix Hummel <apache@felixhummel.de>
For a list of authors see the `AUTHORS` file.
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js
index a606c875..f3b78189 100644
--- a/share/www/script/jquery.couch.js
+++ b/share/www/script/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({