mirror of https://github.com/apache/archiva.git
prevent possible naming issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551096 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ce3fd4802c
commit
180349de02
|
@ -50,7 +50,7 @@ function(jquery,jqueryui,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead) {
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
gridUpdateCallBack: function(){
|
gridUpdateCallBack: function(){
|
||||||
$.log("gridUpdateCallBack users result");
|
$.log("gridUpdateCallBack users result");
|
||||||
applyAutocompleteOnHeaders(self);
|
applyAutocompleteOnUsersHeaders(self);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
clearFilters=function(){
|
clearFilters=function(){
|
||||||
|
@ -280,7 +280,7 @@ function(jquery,jqueryui,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
applyAutocompleteOnHeader=function(property,usersViewModel){
|
applyAutocompleteOnHeaderUsers=function(property,usersViewModel){
|
||||||
|
|
||||||
$("#main-content").find("#users-grid-filter-auto-"+property ).autocomplete({
|
$("#main-content").find("#users-grid-filter-auto-"+property ).autocomplete({
|
||||||
minLength: 0,
|
minLength: 0,
|
||||||
|
@ -318,7 +318,7 @@ function(jquery,jqueryui,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
var jid = "#users-grid-filter-auto-"+property;
|
var jid = "#users-grid-filter-auto-"+property;
|
||||||
$.log("applyAutocompleteOnHeader:"+values.length+" for " + jid);
|
$.log("applyAutocompleteOnHeaderUsers:"+values.length+" for " + jid);
|
||||||
|
|
||||||
var box = $("#main-content").find(jid);
|
var box = $("#main-content").find(jid);
|
||||||
|
|
||||||
|
@ -374,10 +374,10 @@ function(jquery,jqueryui,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
applyAutocompleteOnHeaders=function(usersViewModel){
|
applyAutocompleteOnUsersHeaders=function(usersViewModel){
|
||||||
applyAutocompleteOnHeader("username",usersViewModel);
|
applyAutocompleteOnHeaderUsers("username",usersViewModel);
|
||||||
applyAutocompleteOnHeader("fullName",usersViewModel);
|
applyAutocompleteOnHeaderUsers("fullName",usersViewModel);
|
||||||
applyAutocompleteOnHeader("email",usersViewModel);
|
applyAutocompleteOnHeaderUsers("email",usersViewModel);
|
||||||
}
|
}
|
||||||
|
|
||||||
activateUsersGridTab=function(){
|
activateUsersGridTab=function(){
|
||||||
|
|
Loading…
Reference in New Issue