oups that was failing

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370509 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-08-07 20:42:37 +00:00
parent 816988abf0
commit 6bb77e17bf
1 changed files with 1 additions and 1 deletions

View File

@ -762,7 +762,7 @@ define("archiva.search",["jquery","i18n","jquery.tmpl","choosen","knockout","kno
var newLocation = currentHash.substringBeforeFirst("/");
// maybe the current hash contains a repositoryId so remove it
if (newLocation.indexOf("~")>-1){
newLocation=currentHash.substringBeforeFirst("");
newLocation=currentHash.substringBeforeFirst("~");
}
if (selectedRepository){
newLocation+="~"+selectedRepository;