diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-09-04 13:58:37 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-09-04 13:58:37 +0200 |
commit | 331f9cb98df45e172f818d67eedfee51e5015568 (patch) | |
tree | ae996d085d472b2fc0db0d4aab6b01554ff906ba /search | |
parent | 6ca9e2743860b56152931c0fb8d96745db51d942 (diff) | |
download | nextcloud-server-331f9cb98df45e172f818d67eedfee51e5015568.tar.gz nextcloud-server-331f9cb98df45e172f818d67eedfee51e5015568.zip |
add / to url to match route
Diffstat (limited to 'search')
-rw-r--r-- | search/js/result.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/search/js/result.js b/search/js/result.js index 857b4fe1f22..13be0b552bf 100644 --- a/search/js/result.js +++ b/search/js/result.js @@ -80,7 +80,7 @@ OC.search.showResults=function(results){ containerName = '/'; } var containerLink = OC.linkTo('files', 'index.php') - +'?dir='+encodeURIComponent(parent) + +'/?dir='+encodeURIComponent(parent) +'&scrollto='+encodeURIComponent(type[i].name); row.find('td.result a') .attr('href', containerLink) |