aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-05-06 16:58:48 +1000
committerOlivier Lamy <olamy@apache.org>2014-05-06 16:58:48 +1000
commit08ae7d269f1af40d7cebfb6127398588c6a2afca (patch)
tree719a90bbcd75226ff3ec5abdaa2f916f387ed7fd /archiva-modules
parent7d3cdeb181c70f6ba94065d45b2e48b728c34fa8 (diff)
downloadarchiva-08ae7d269f1af40d7cebfb6127398588c6a2afca.tar.gz
archiva-08ae7d269f1af40d7cebfb6127398588c6a2afca.zip
cleanup
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/redback/users.js19
1 files changed, 5 insertions, 14 deletions
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 79a9d1612..d9cc59d90 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();