diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repository-groups.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repository-groups.js index a4117fe29..4330f2886 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repository-groups.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repository-groups.js @@ -75,21 +75,31 @@ function(jquery,i18n,jqueryTmpl,bootstrap,jqueryValidate,jqueryUi,ko) { $.log("removeRepository:"+id); } - this.renderSortableAvailables=function(){ - $.log("renderSortableAvailables"); - //$("#main-content").find("#repository-groups-edit-available-repositories" ).find(".icon-minus-sign" ).hide(); + this.renderSortableAvailables=function(repositoryGroupsViewModel){ + $("#main-content").find("#repository-groups-edit-available-repositories").find(".icon-plus-sign" ).on("click",function(){ + var idVal = $(this).attr("id"); + idVal=idVal.substringAfterFirst("plus-"); + for (var i=0;i
- +
${$data.id()}