couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benk...@apache.org
Subject fauxton commit: updated refs/heads/master to 4a94481
Date Fri, 14 Nov 2014 18:02:24 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master c43467511 -> 4a944816a


Switch-db-tray does not work with query options

This fixes a problem where using the db tray switch shows incorrect
results. To confirm fix:
1. Open a database (database A) and search for a single key with the
queryoption-tray: you get one document as result
2. use the new tray to switch to another database (database B)
3. you should see that all_docs from database B now shows up as you'd
expect

Closes COUCHDB-2460


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/4a944816
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/4a944816
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/4a944816

Branch: refs/heads/master
Commit: 4a944816a7fc08220a4392055b9f63e552bbe712
Parents: c434675
Author: Benjamin Keen <ben.keen@gmail.com>
Authored: Thu Nov 13 11:04:38 2014 -0800
Committer: Benjamin Keen <ben.keen@gmail.com>
Committed: Fri Nov 14 10:02:02 2014 -0800

----------------------------------------------------------------------
 app/addons/documents/routes-documents.js | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/4a944816/app/addons/documents/routes-documents.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/routes-documents.js b/app/addons/documents/routes-documents.js
index 32523f5..69a13ec 100644
--- a/app/addons/documents/routes-documents.js
+++ b/app/addons/documents/routes-documents.js
@@ -520,6 +520,12 @@ function(app, FauxtonAPI, Documents, Changes, Index, DocEditor, Databases,
Resou
     },
 
     cleanup: function () {
+      if (this.documentsView) {
+        this.removeView('#dashboard-lower-content');
+      }
+      if (this.rightHeader) {
+        this.removeView('#right-header');
+      }
       if (this.leftheader) {
         this.removeView('#breadcrumbs');
       }


Mime
View raw message