summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2009-07-21 10:41:48 +0000
committerPaul Joseph Davis <davisp@apache.org>2009-07-21 10:41:48 +0000
commit2e8eeb0af9defee040d3e6496fdb5508940d1161 (patch)
tree7373484ae9d6703d6ef43dd1e9ce6350eb69aaf4 /share/www
parent7100ca639471005be44baf3f7036c120dfe4166b (diff)
One line patch to fix _local docs.
Accounts for _local docs not having conflict resolution in Futon. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@796246 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/futon.browse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index a101138f..9bf01752 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -755,7 +755,7 @@
db.openDoc(docId, {revs_info: true,
success: function(doc) {
- var revs = doc._revs_info;
+ var revs = doc._revs_info || [];
delete doc._revs_info;
if (docRev != null) {
db.openDoc(docId, {rev: docRev,