aboutsummaryrefslogtreecommitdiffstats
path: root/files/js/filelist.js
diff options
context:
space:
mode:
authorBartek Przybylski <bart.p.pl@gmail.com>2011-12-30 17:06:48 +0100
committerBartek Przybylski <bart.p.pl@gmail.com>2011-12-30 17:06:48 +0100
commit96dc279e8ea0d18201bc71af989d16224e4d66f7 (patch)
tree945282239b28db304e87390b656df5c5374eae6b /files/js/filelist.js
parent2ea20862fcef773d4262c78835b16fb5827ecfe2 (diff)
parented2ba4e8e40b6877f71c1205ff9a7bd2b46f30e0 (diff)
downloadnextcloud-server-96dc279e8ea0d18201bc71af989d16224e4d66f7.tar.gz
nextcloud-server-96dc279e8ea0d18201bc71af989d16224e4d66f7.zip
Merge branch 'master' of gitorious.org:owncloud/owncloud
Diffstat (limited to 'files/js/filelist.js')
-rw-r--r--files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/js/filelist.js b/files/js/filelist.js
index c8720d5a435..35847e06dfe 100644
--- a/files/js/filelist.js
+++ b/files/js/filelist.js
@@ -40,7 +40,7 @@ FileList={
html = $('<tr></tr>').attr({ "data-type": "dir", "data-size": size, "data-file": name});
td = $('<td></td>').attr({"class": "filename", "style": 'background-image:url('+OC.imagePath('core', 'filetypes/folder.png')+')' });
td.append('<input type="checkbox" />');
- var link_elem = $('<a></a>').attr({ "class": "name", "href": "index.php?dir="+ encodeURIComponent($('#dir').val()+'/'+name) });
+ var link_elem = $('<a></a>').attr({ "class": "name", "href": "index.php?dir="+ encodeURIComponent($('#dir').val()+'/'+name).replace(/%2F/g, '/') });
link_elem.append($('<span></span>').addClass('nametext').text(name));
td.append(link_elem);
html.append(td);