couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject fauxton commit: updated refs/heads/master to cddf2ef
Date Tue, 27 Jan 2015 12:48:44 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 6236556ea -> cddf2ef04


changes: always remove filter tab

remove filtertab when switching from changes to "All Documents"


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

Branch: refs/heads/master
Commit: cddf2ef042eacb13e1ff4e8457ad9488e84dff67
Parents: 6236556
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Mon Jan 26 15:57:17 2015 +0100
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Tue Jan 27 13:48:21 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/cddf2ef0/app/addons/documents/routes-documents.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/routes-documents.js b/app/addons/documents/routes-documents.js
index 74eb48b..5b07b1f 100644
--- a/app/addons/documents/routes-documents.js
+++ b/app/addons/documents/routes-documents.js
@@ -184,6 +184,8 @@ function(app, FauxtonAPI, BaseRoute, Documents, Changes, Index, DocEditor,
Datab
       }
 
       this.viewEditor && this.viewEditor.remove();
+      this.headerView && this.headerView.remove();
+
       this.database.allDocs.paging.pageSize = this.getDocPerPageLimit(urlParams, parseInt(docParams.limit,
10));
 
       if (!docParams) {
@@ -529,6 +531,9 @@ function(app, FauxtonAPI, BaseRoute, Documents, Changes, Index, DocEditor,
Datab
       if (this.footer) {
         this.removeView('#footer');
       }
+      if (this.headerView) {
+        this.removeView('#dashboard-upper-content');
+      }
 
       // we're no longer interested in listening to the lookahead tray event on this route
object
       this.stopListening(FauxtonAPI.Events, 'lookaheadTray:update', this.onSelectDatabase);


Mime
View raw message