couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r960148 - /couchdb/trunk/share/www/script/jquery.couch.js
Date Sat, 03 Jul 2010 01:24:13 GMT
Author: jchris
Date: Sat Jul  3 01:24:12 2010
New Revision: 960148

URL: http://svn.apache.org/viewvc?rev=960148&view=rev
Log:
fix jquery.couch.js replicate options

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

Modified: couchdb/trunk/share/www/script/jquery.couch.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/jquery.couch.js?rev=960148&r1=960147&r2=960148&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/jquery.couch.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/jquery.couch.js [utf-8] Sat Jul  3 01:24:12 2010
@@ -562,7 +562,7 @@
     },
 
     replicate: function(source, target, ajaxOptions, repOpts) {
-      $.extend(repOpts, {source: source, target: target});
+      repOpts = $.extend({source: source, target: target}, repOpts);
       if (repOpts.continuous) {
         ajaxOptions.successStatus = 202;
       }



Mime
View raw message