couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1094024 - in /couchdb/trunk: THANKS share/www/script/jquery.couch.js
Date Sat, 16 Apr 2011 18:29:03 GMT
Author: jan
Date: Sat Apr 16 18:29:03 2011
New Revision: 1094024

URL: http://svn.apache.org/viewvc?rev=1094024&view=rev
Log:
Don't expect a 202 repsponse code when cancelling a replication.

Closes COUCHDB-1016

Patch by Felix Hummel.

Modified:
    couchdb/trunk/THANKS
    couchdb/trunk/share/www/script/jquery.couch.js

Modified: couchdb/trunk/THANKS
URL: http://svn.apache.org/viewvc/couchdb/trunk/THANKS?rev=1094024&r1=1094023&r2=1094024&view=diff
==============================================================================
--- couchdb/trunk/THANKS (original)
+++ couchdb/trunk/THANKS Sat Apr 16 18:29:03 2011
@@ -77,5 +77,6 @@ suggesting improvements or submitting ch
  * Mike Leddy <mike@loop.com.br>
  * Wayne Conrad <wayne@databill.com>
  * Thomas Vander Stichele <thomas@apestaart.org>
+ * Felix Hummel <apache@felixhummel.de>
 
 For a list of authors see the `AUTHORS` file.

Modified: couchdb/trunk/share/www/script/jquery.couch.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/jquery.couch.js?rev=1094024&r1=1094023&r2=1094024&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/jquery.couch.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/jquery.couch.js [utf-8] Sat Apr 16 18:29:03 2011
@@ -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({



Mime
View raw message