couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [40/50] [abbrv] fauxton commit: updated refs/heads/import-master to b32c617
Date Tue, 01 Apr 2014 09:14:56 GMT
Fauxton: fix global var


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

Branch: refs/heads/import-master
Commit: 8b4eaad7bce65f6b6a7a26ab3399566daad8cf1d
Parents: c2bd589
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

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


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/8b4eaad7/app/addons/activetasks/views.js
----------------------------------------------------------------------
diff --git a/app/addons/activetasks/views.js b/app/addons/activetasks/views.js
index 1da8f52..b0940bf 100644
--- a/app/addons/activetasks/views.js
+++ b/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