mirror of https://github.com/apache/archiva.git
cleanup
This commit is contained in:
parent
7d3cdeb181
commit
08ae7d269f
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue