From 6d73c5551e8a7af4ed0d13c8b94d9eec9dd09d8c Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Sat, 3 Jul 2010 01:24:12 +0000 Subject: fix jquery.couch.js replicate options git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960148 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/jquery.couch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js index ff248399..f9647ecd 100644 --- a/share/www/script/jquery.couch.js +++ b/share/www/script/jquery.couch.js @@ -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; } -- cgit v1.2.3