aboutsummaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-06-03 02:54:54 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-06-03 02:54:54 +0200
commit815f2390142e0a9a73df8fc2f726d4799886f2d4 (patch)
tree1aee6e1f90e1bd03614b2cd997f59dc61fccc035 /files
parent00711341e9da369a2c99ff0085b7e36531986f0f (diff)
downloadnextcloud-server-815f2390142e0a9a73df8fc2f726d4799886f2d4.tar.gz
nextcloud-server-815f2390142e0a9a73df8fc2f726d4799886f2d4.zip
fix download links of newly uploaded files
Diffstat (limited to 'files')
-rw-r--r--files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/js/files.js b/files/js/files.js
index 70774f6ac44..b8bfb02b2bc 100644
--- a/files/js/files.js
+++ b/files/js/files.js
@@ -157,7 +157,7 @@ $(document).ready(function() {
var uploadTime=monthNames[date.getMonth()]+' '+date.getDate()+', '+date.getFullYear()+', '+((date.getHours()<10)?'0':'')+date.getHours()+':'+date.getMinutes();
var html='<tr>';
html+='<td class="selection"><input type="checkbox" /></td>';
- html+='<td class="filename"><a style="background-image:url(img/file.png)" href="ajax/download.php?file='+$('#dir').val()+'/'+name+'">'+name+'</a></td>';
+ html+='<td class="filename"><a style="background-image:url(img/file.png)" href="download.php?file='+$('#dir').val()+'/'+name+'">'+name+'</a></td>';
html+='<td class="filesize">'+size+'</td>';
html+='<td class="date">'+uploadTime+'</td>';
html+='<td class="fileaction"><a href="" title="+" class="dropArrow"></a></td>';