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
This commit is contained in:
Maria Odea B. Ching 2013-05-03 14:44:53 +00:00
parent 364c398d82
commit 2bfd573515
1 changed files with 2 additions and 1 deletions

View File

@ -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",