couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [1/3] fauxton commit: updated refs/heads/master to e01751f
Date Fri, 22 Jan 2016 09:07:41 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 8066f872a -> e01751f5f


remove repetition of this.triggerChange()

PR: #621
PR-URL: https://github.com/apache/couchdb-fauxton/pull/621
Reviewed-By: Benjamin Keen <ben.keen@gmail.com>


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

Branch: refs/heads/master
Commit: 7bbd5b02ffb5af698e6fae77a9a834d2691d96a6
Parents: 8066f87
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Thu Jan 21 15:32:55 2016 +0100
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Fri Jan 22 10:09:06 2016 +0100

----------------------------------------------------------------------
 app/addons/documents/mango/mango.stores.js | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/7bbd5b02/app/addons/documents/mango/mango.stores.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/mango/mango.stores.js b/app/addons/documents/mango/mango.stores.js
index f0f2638..4fdee69 100644
--- a/app/addons/documents/mango/mango.stores.js
+++ b/app/addons/documents/mango/mango.stores.js
@@ -129,34 +129,30 @@ function (FauxtonAPI, ActionTypes) {
 
         case ActionTypes.MANGO_SET_DB:
           this.setDatabase(action.options);
-          this.triggerChange();
         break;
 
         case ActionTypes.MANGO_NEW_QUERY_CREATE_INDEX_CODE:
           this.setQueryIndexCode(action.options);
-          this.triggerChange();
         break;
 
         case ActionTypes.MANGO_NEW_QUERY_FIND_CODE_FROM_FIELDS:
           this.newQueryFindCodeFromFields(action.options);
-          this.triggerChange();
         break;
 
         case ActionTypes.MANGO_NEW_QUERY_FIND_CODE:
           this.setQueryFindCode(action.options);
-          this.triggerChange();
         break;
 
         case ActionTypes.MANGO_NEW_AVAILABLE_INDEXES:
           this.setAvailableIndexes(action.options);
-          this.triggerChange();
         break;
 
         case ActionTypes.MANGO_RESET:
           this.setLoadingIndexes(action.options);
-          this.triggerChange();
         break;
       }
+
+      this.triggerChange();
     }
 
   });


Mime
View raw message