couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r796246 - /couchdb/trunk/share/www/script/futon.browse.js
Date Tue, 21 Jul 2009 10:41:48 GMT
Author: davisp
Date: Tue Jul 21 10:41:48 2009
New Revision: 796246

URL: http://svn.apache.org/viewvc?rev=796246&view=rev
Log:
One line patch to fix _local docs.

Accounts for _local docs not having conflict resolution in Futon.


Modified:
    couchdb/trunk/share/www/script/futon.browse.js

Modified: couchdb/trunk/share/www/script/futon.browse.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/futon.browse.js?rev=796246&r1=796245&r2=796246&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/futon.browse.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/futon.browse.js [utf-8] Tue Jul 21 10:41:48 2009
@@ -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,



Mime
View raw message