diff options
author | John Christopher Anderson <jchris@apache.org> | 2010-07-03 01:24:12 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2010-07-03 01:24:12 +0000 |
commit | 6d73c5551e8a7af4ed0d13c8b94d9eec9dd09d8c (patch) | |
tree | 77d14d207868cb43bff691cc374714555bad3e94 | |
parent | 4a8b2e5d81111cdd211532f1e74d97167c3ccc86 (diff) |
fix jquery.couch.js replicate options
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960148 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | share/www/script/jquery.couch.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |