From 180349de02d4324f13fec617b0e3c07dc2e8f839 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 16 Dec 2013 01:26:14 +0000 Subject: [PATCH] prevent possible naming issue git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551096 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/redback/users.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 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 cdc2a3611..ecf804be2 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 @@ -50,7 +50,7 @@ function(jquery,jqueryui,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead) { pageSize: 10, gridUpdateCallBack: function(){ $.log("gridUpdateCallBack users result"); - applyAutocompleteOnHeaders(self); + applyAutocompleteOnUsersHeaders(self); } }); 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({ minLength: 0, @@ -318,7 +318,7 @@ function(jquery,jqueryui,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead) { } }); 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); @@ -374,10 +374,10 @@ function(jquery,jqueryui,utils,i18n,jqueryValidate,ko,koSimpleGrid,typeahead) { } - applyAutocompleteOnHeaders=function(usersViewModel){ - applyAutocompleteOnHeader("username",usersViewModel); - applyAutocompleteOnHeader("fullName",usersViewModel); - applyAutocompleteOnHeader("email",usersViewModel); + applyAutocompleteOnUsersHeaders=function(usersViewModel){ + applyAutocompleteOnHeaderUsers("username",usersViewModel); + applyAutocompleteOnHeaderUsers("fullName",usersViewModel); + applyAutocompleteOnHeaderUsers("email",usersViewModel); } activateUsersGridTab=function(){ -- 2.39.5