couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benk...@apache.org
Subject fauxton commit: updated refs/heads/master to c0c0c1c
Date Mon, 06 Jun 2016 15:33:51 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master eb5fae626 -> c0c0c1c54


only set query options tray visibility on initialize


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

Branch: refs/heads/master
Commit: c0c0c1c54d39a3d2b81d42df388aa2e0d1f54025
Parents: eb5fae6
Author: Ben Keen <ben.keen@gmail.com>
Authored: Mon Jun 6 14:41:23 2016 +0000
Committer: Ben Keen <ben.keen@gmail.com>
Committed: Mon Jun 6 14:41:23 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/c0c0c1c5/app/addons/documents/queryoptions/stores.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/queryoptions/stores.js b/app/addons/documents/queryoptions/stores.js
index 42e9ef2..19834e3 100644
--- a/app/addons/documents/queryoptions/stores.js
+++ b/app/addons/documents/queryoptions/stores.js
@@ -19,6 +19,7 @@ const Stores = {};
 Stores.QueryOptionsStore = FauxtonAPI.Store.extend({
 
   initialize () {
+    this._trayVisible = false;
     this.reset();
   },
 
@@ -29,11 +30,8 @@ Stores.QueryOptionsStore = FauxtonAPI.Store.extend({
     this._showBetweenKeys = false;
     this._includeDocs = false;
     this._betweenKeys = {
-      include: true,
+      include: true
     };
-
-    this._trayVisible = false;
-
     this._byKeys = '';
     this._descending = false;
     this._skip = '';


Mime
View raw message