Skip to content
Snippets Groups Projects
Commit 331f9cb9 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

add / to url to match route

parent 6ca9e274
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ OC.search.showResults=function(results){ ...@@ -80,7 +80,7 @@ OC.search.showResults=function(results){
containerName = '/'; containerName = '/';
} }
var containerLink = OC.linkTo('files', 'index.php') var containerLink = OC.linkTo('files', 'index.php')
+'?dir='+encodeURIComponent(parent) +'/?dir='+encodeURIComponent(parent)
+'&scrollto='+encodeURIComponent(type[i].name); +'&scrollto='+encodeURIComponent(type[i].name);
row.find('td.result a') row.find('td.result a')
.attr('href', containerLink) .attr('href', containerLink)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment