mirror of https://github.com/apache/archiva.git
use selected repository when going use home icon
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308321 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9071e5a4ca
commit
a3507802bc
|
@ -470,7 +470,12 @@ define("search",["jquery","i18n","jquery.tmpl","choosen","order!knockout","knock
|
||||||
}
|
}
|
||||||
|
|
||||||
browseRoot=function(){
|
browseRoot=function(){
|
||||||
displayGroupDetail(null,null,"restServices/archivaServices/browseService/rootGroups");
|
var url="restServices/archivaServices/browseService/rootGroups";
|
||||||
|
var selectedRepo=getSelectedBrowsingRepository();
|
||||||
|
if (selectedRepo){
|
||||||
|
url+="?repositoryId="+encodeURIComponent(selectedRepo);
|
||||||
|
}
|
||||||
|
displayGroupDetail(null,null,url);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue