]> source.dussan.org Git - archiva.git/commitdiff
while browsing clicking on home must not break nav history
authorOlivier Lamy <olamy@apache.org>
Sun, 29 Jul 2012 19:20:52 +0000 (19:20 +0000)
committerOlivier Lamy <olamy@apache.org>
Sun, 29 Jul 2012 19:20:52 +0000 (19:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1366900 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js

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