summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-05-22 21:28:54 +0000
committerJan Lehnardt <jan@apache.org>2010-05-22 21:28:54 +0000
commit16a19110eba7c378ade36320598faf10c3c723c9 (patch)
tree196e810a51cf0d0d740ac32cb03ce7d7035f8572 /share/www
parente1691e485af06d9b502e33d2f6ea424003801847 (diff)
Check for undefined options. Patch by Filipe Manana. Closes COUCHDB-774.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@947336 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/jquery.couch.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js
index 5a9541ba..41a8f05e 100644
--- a/share/www/script/jquery.couch.js
+++ b/share/www/script/jquery.couch.js
@@ -476,6 +476,7 @@
}
function fullCommit(options) {
+ var options = options || {};
if (typeof options.ensure_full_commit !== "undefined") {
var commit = options.ensure_full_commit;
delete options.ensure_full_commit;