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 D966811402 for ; Wed, 13 Aug 2014 16:18:34 +0000 (UTC) Received: (qmail 1344 invoked by uid 500); 13 Aug 2014 16:18:34 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 1293 invoked by uid 500); 13 Aug 2014 16:18:34 -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 1284 invoked by uid 99); 13 Aug 2014 16:18:34 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2014 16:18:34 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 6AB0F9A5718; Wed, 13 Aug 2014 16:18:34 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: deathbear@apache.org To: commits@couchdb.apache.org Message-Id: <40035aa199fb437ea4ff1e83337669e1@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: fauxton commit: updated refs/heads/secondary-indexes to 09e4aab Date: Wed, 13 Aug 2014 16:18:34 +0000 (UTC) Repository: couchdb-fauxton Updated Branches: refs/heads/secondary-indexes fc8c41b86 -> 09e4aab92 remove useless forcerenders for the breadcrumbs Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/09e4aab9 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/09e4aab9 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/09e4aab9 Branch: refs/heads/secondary-indexes Commit: 09e4aab9210b9c5ee359d150c5cb75ebdb87b14e Parents: fc8c41b Author: deathbearbrown Authored: Wed Aug 13 12:18:36 2014 -0400 Committer: deathbearbrown Committed: Wed Aug 13 12:18:36 2014 -0400 ---------------------------------------------------------------------- app/addons/documents/routes.js | 6 +++--- app/addons/indexes/routes-core.js | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/09e4aab9/app/addons/documents/routes.js ---------------------------------------------------------------------- diff --git a/app/addons/documents/routes.js b/app/addons/documents/routes.js index db815a4..911b04f 100644 --- a/app/addons/documents/routes.js +++ b/app/addons/documents/routes.js @@ -412,7 +412,7 @@ function(app, FauxtonAPI, Components, Documents, Changes, DocEditor, Databases, this.documentsView.setCollection(collection); this.documentsView.setParams(docParams, urlParams); - this.leftheader.forceRender(); + this.documentsView.forceRender(); this.rightHeader.updateApiUrl([collection.urlRef("apiurl", urlParams), "docs"]); @@ -425,7 +425,7 @@ function(app, FauxtonAPI, Components, Documents, Changes, DocEditor, Databases, // We need to restore the collection parameters to the defaults (1st page) // and update the page size this.perPage = perPage; - this.leftheader.forceRender(); + this.documentsView.forceRender(); this.documentsView.collection.pageSizeReset(perPage, {fetch: false}); this.setDocPerPageLimit(perPage); @@ -437,7 +437,7 @@ function(app, FauxtonAPI, Components, Documents, Changes, DocEditor, Databases, paginate: function (options) { var collection = this.documentsView.collection; - this.leftheader.forceRender(); + this.documentsView.forceRender(); collection.paging.pageSize = options.perPage; var promise = collection[options.direction]({fetch: false}); http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/09e4aab9/app/addons/indexes/routes-core.js ---------------------------------------------------------------------- diff --git a/app/addons/indexes/routes-core.js b/app/addons/indexes/routes-core.js index a341d41..65f33bc 100644 --- a/app/addons/indexes/routes-core.js +++ b/app/addons/indexes/routes-core.js @@ -58,7 +58,6 @@ function (app, FauxtonAPI, Databases, Views, Documents, Resources) { // We need to restore the collection parameters to the defaults (1st page) // and update the page size this.perPage = perPage; - this.leftheader.forceRender(); this.documentsView.forceRender(); this.documentsView.collection.pageSizeReset(perPage, {fetch: false}); this.setDocPerPageLimit(perPage); @@ -77,7 +76,7 @@ function (app, FauxtonAPI, Databases, Views, Documents, Resources) { paginate: function (options) { var collection = this.documentsView.collection; - this.leftheader.forceRender(); + this.documentsView.forceRender(); collection.paging.pageSize = options.perPage; var promise = collection[options.direction]({fetch: false}); @@ -162,7 +161,6 @@ function (app, FauxtonAPI, Databases, Views, Documents, Resources) { this.documentsView.setCollection(collection); this.documentsView.setParams(docParams, urlParams); - this.leftheader.forceRender(); this.documentsView.forceRender(); this.rightHeader.updateApiUrl([collection.urlRef("apiurl", urlParams), "docs"]);