diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-06-03 02:54:54 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-06-03 02:54:54 +0200 |
commit | 815f2390142e0a9a73df8fc2f726d4799886f2d4 (patch) | |
tree | 1aee6e1f90e1bd03614b2cd997f59dc61fccc035 /files | |
parent | 00711341e9da369a2c99ff0085b7e36531986f0f (diff) | |
download | nextcloud-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.js | 2 |
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>'; |