couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject [17/50] [abbrv] couchdb commit: updated refs/heads/1.6.x to d2ac597
Date Tue, 01 Apr 2014 17:41:59 GMT
Fauxton: fix global var


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

Branch: refs/heads/1.6.x
Commit: 89eb4a6d627e1f4e15a998319ac92210e7a1faba
Parents: 35390c8
Author: Robert Kowalski <rok@kowalski.gd>
Authored: Fri Mar 21 20:49:41 2014 +0100
Committer: Robert Kowalski <rok@kowalski.gd>
Committed: Fri Mar 21 20:49:41 2014 +0100

----------------------------------------------------------------------
 src/fauxton/app/addons/activetasks/views.js | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/89eb4a6d/src/fauxton/app/addons/activetasks/views.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/activetasks/views.js b/src/fauxton/app/addons/activetasks/views.js
index 1da8f52..b0940bf 100644
--- a/src/fauxton/app/addons/activetasks/views.js
+++ b/src/fauxton/app/addons/activetasks/views.js
@@ -58,8 +58,8 @@ function (app, FauxtonAPI, activetasks) {
     },
 
     requestByType: function(e){
-      var currentTarget = e.currentTarget;
-      datatype = this.$(currentTarget).attr("data-type");
+      var currentTarget = e.currentTarget,
+          datatype = this.$(currentTarget).attr("data-type");
 
       this.$('.task-tabs').find('li').removeClass('active');
       this.$(currentTarget).addClass('active');
@@ -119,8 +119,9 @@ function (app, FauxtonAPI, activetasks) {
       currentView = this.options.currentView;
     },
     sortByType:  function(e){
-      var currentTarget = e.currentTarget;
-      datatype = $(currentTarget).attr("data-type");
+      var currentTarget = e.currentTarget,
+          datatype = $(currentTarget).attr("data-type");
+
       this.collection.sortByColumn(datatype);
       this.render();
     },


Mime
View raw message