archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [2/2] git commit: cleanup
Date Tue, 06 May 2014 06:59:19 GMT
cleanup


Project: http://git-wip-us.apache.org/repos/asf/archiva/repo
Commit: http://git-wip-us.apache.org/repos/asf/archiva/commit/08ae7d26
Tree: http://git-wip-us.apache.org/repos/asf/archiva/tree/08ae7d26
Diff: http://git-wip-us.apache.org/repos/asf/archiva/diff/08ae7d26

Branch: refs/heads/master
Commit: 08ae7d269f1af40d7cebfb6127398588c6a2afca
Parents: 7d3cdeb
Author: Olivier Lamy <olamy@apache.org>
Authored: Tue May 6 16:58:48 2014 +1000
Committer: Olivier Lamy <olamy@apache.org>
Committed: Tue May 6 16:58:48 2014 +1000

----------------------------------------------------------------------
 .../src/main/webapp/js/redback/users.js          | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/archiva/blob/08ae7d26/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/redback/users.js
----------------------------------------------------------------------
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/redback/users.js
b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/redback/users.js
index 79a9d16..d9cc59d 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/redback/users.js
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/redback/users.js
@@ -66,7 +66,7 @@ function(jquery,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead) {
         }
       });
       self.users(founds);
-    }
+    };
     filterNonLocked=function(){
       var founds=[];
       $(self.originalUsers()).each(function(idx,user){
@@ -75,7 +75,7 @@ function(jquery,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead) {
         }
       });
       self.users(founds);
-    }
+    };
 
     filterPasswordChangeRequired=function(){
       var founds=[];
@@ -85,7 +85,8 @@ function(jquery,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead) {
         }
       });
       self.users(founds);
-    }
+    };
+
     filterPasswordChangeNotRequired=function(){
       var founds=[];
       $(self.originalUsers()).each(function(idx,user){
@@ -94,7 +95,7 @@ function(jquery,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead) {
         }
       });
       self.users(founds);
-    }
+    };
 
 
     this.addUser=function() {
@@ -144,16 +145,6 @@ function(jquery,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead)
{
       user.changePasswordChangeRequired(forceChangedPassword);
     };
 
-    this.sortByName = function() {
-      this.users.sort(function(a, b) {
-        return a.username().localeCompare(b.username());
-      });
-    };
-
-    sortByProperty = function( property ) {
-      $.log("sortByProperty:" + property.headerText);
-    }
-
     deleteUser=function(user){
       clearUserMessages();
 


Mime
View raw message