while browsing clicking on home must not break nav history

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1366900 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-07-29 19:20:52 +00:00
parent dd5528a462
commit ee91b3e702
1 changed files with 3 additions and 2 deletions

View File

@ -637,12 +637,13 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","choosen","knockout","kno
} }
browseRoot=function(){ browseRoot=function(){
var url="restServices/archivaServices/browseService/rootGroups"; /*var url="restServices/archivaServices/browseService/rootGroups";
var selectedRepo=getSelectedBrowsingRepository(); var selectedRepo=getSelectedBrowsingRepository();
if (selectedRepo){ if (selectedRepo){
url+="?repositoryId="+encodeURIComponent(selectedRepo); url+="?repositoryId="+encodeURIComponent(selectedRepo);
} }
displayGroupDetail(null,null,url); displayGroupDetail(null,null,url);*/
window.sammyArchivaApplication.setLocation("#browse");
} }
/** /**