mirror of https://github.com/apache/archiva.git
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:
parent
816988abf0
commit
6bb77e17bf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue