From 16a19110eba7c378ade36320598faf10c3c723c9 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Sat, 22 May 2010 21:28:54 +0000 Subject: 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 --- share/www/script/jquery.couch.js | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3