From 2bfd57351539e76784283a273f1aacff9c9f36e5 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Fri, 3 May 2013 14:44:53 +0000 Subject: [PATCH] fixed url of managed repos in repo group git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1478820 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/archiva/repository-groups.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/repository-groups.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/repository-groups.js index cfa68350d..ce567c882 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/repository-groups.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/repository-groups.js @@ -293,7 +293,8 @@ function(jquery,i18n,jqueryTmpl,bootstrap,jqueryValidate,jqueryUi,ko) { dataType: 'text', success: function(applicationUrl){ - self.repositoryGroupsViewModel.managedRepositories(mapManagedRepositories(data,applicationUrl)); + self.repositoryGroupsViewModel.managedRepositories( + mapManagedRepositories(data,applicationUrl?applicationUrl:window.location.toString().substringBeforeLast("/"))); self.repositoryGroupsViewModel.applicationUrl=applicationUrl; $.ajax("restServices/archivaServices/repositoryGroupService/getRepositoriesGroups", { type: "GET", -- 2.39.5