]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix download links of newly uploaded files
authorRobin Appelman <icewind1991@gmail.com>
Fri, 3 Jun 2011 00:54:54 +0000 (02:54 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Fri, 3 Jun 2011 00:54:54 +0000 (02:54 +0200)
files/js/files.js

index 70774f6ac44e89ee04cb48e3cdd4af7e3cf53252..b8bfb02b2bcccea926fbbf3eeed1f3d27b7a71c0 100644 (file)
@@ -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>';