couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject fauxton commit: updated refs/heads/secondary-indexes to 09e4aab
Date Wed, 13 Aug 2014 16:18:34 GMT
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 <deathbearbrown@gmail.com>
Authored: Wed Aug 13 12:18:36 2014 -0400
Committer: deathbearbrown <deathbearbrown@gmail.com>
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"]);


Mime
View raw message