couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1094025 - in /couchdb/branches/1.1.x: THANKS share/www/script/jquery.couch.js
Date Sat, 16 Apr 2011 18:31:16 GMT
Author: jan
Date: Sat Apr 16 18:31:16 2011
New Revision: 1094025

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

Closes COUCHDB-1016

Patch by Felix Hummel.

Modified:
    couchdb/branches/1.1.x/THANKS
    couchdb/branches/1.1.x/share/www/script/jquery.couch.js

Modified: couchdb/branches/1.1.x/THANKS
URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/THANKS?rev=1094025&r1=1094024&r2=1094025&view=diff
==============================================================================
--- couchdb/branches/1.1.x/THANKS (original)
+++ couchdb/branches/1.1.x/THANKS Sat Apr 16 18:31:16 2011
@@ -75,5 +75,6 @@ suggesting improvements or submitting ch
  * 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.

Modified: couchdb/branches/1.1.x/share/www/script/jquery.couch.js
URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/share/www/script/jquery.couch.js?rev=1094025&r1=1094024&r2=1094025&view=diff
==============================================================================
--- couchdb/branches/1.1.x/share/www/script/jquery.couch.js [utf-8] (original)
+++ couchdb/branches/1.1.x/share/www/script/jquery.couch.js [utf-8] Sat Apr 16 18:31:16 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