Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA99717248 for ; Tue, 27 Jan 2015 12:48:45 +0000 (UTC) Received: (qmail 94681 invoked by uid 500); 27 Jan 2015 12:48:46 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 94631 invoked by uid 500); 27 Jan 2015 12:48:46 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 94621 invoked by uid 99); 27 Jan 2015 12:48:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 12:48:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D6354E03F8; Tue, 27 Jan 2015 12:48:44 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: robertkowalski@apache.org To: commits@couchdb.apache.org Message-Id: <1429e0e463684a9fa14ac1440e1906fa@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: fauxton commit: updated refs/heads/master to cddf2ef Date: Tue, 27 Jan 2015 12:48:44 +0000 (UTC) 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 Authored: Mon Jan 26 15:57:17 2015 +0100 Committer: Robert Kowalski 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);