diff options
author | Olivier Lamy <olamy@apache.org> | 2014-01-15 23:31:59 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-01-15 23:31:59 +0000 |
commit | 1e53fcfae976ec75df39a64932f5ee5c2d63d4cc (patch) | |
tree | 65164a9a32cef3261609361a2e67766dd2249f61 /archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva | |
parent | 0ecc1afd539c9cf34f8ac7f83bb12e08146432b1 (diff) | |
download | archiva-1e53fcfae976ec75df39a64932f5ee5c2d63d4cc.tar.gz archiva-1e53fcfae976ec75df39a64932f5ee5c2d63d4cc.zip |
fixing moving to groupId browsing when selected from typeahead
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1558606 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js index 19796af3b..f035b6f1c 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/search.js @@ -1424,7 +1424,7 @@ define("archiva.search",["jquery","jquery.ui","i18n","jquery.tmpl","select2","kn enableAutocompleBrowse=function(groupId){ $.log("enableAutocompleBrowse with groupId:'"+groupId+"'"); - $("#select_browse_repository" ).select2({width: "resolve"}); + $("#select_browse_repository").select2({width: "resolve"}); // browse-autocomplete var url="restServices/archivaServices/browseService/rootGroups"; if (groupId){ @@ -1532,8 +1532,8 @@ define("archiva.search",["jquery","jquery.ui","i18n","jquery.tmpl","select2","kn if (selectedRepo){ location+="~"+selectedRepo; } - location+="/"+datum.name; - //browseBox.typeahead('destroy'); + location+="/"+theGroupId+"."+datum.name; + $.log("location:"+location); window.sammyArchivaApplication.setLocation(location); } |