summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-05-23 14:25:51 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-05 10:17:22 +0200
commit608456d2a90088e551de48439038da18a4c2a037 (patch)
tree9d7616989b31a6c1bf9edafd1f7a55f8bf53ca5c /apps/files_trashbin/js
parentbc008f8d5f684678242f0e2f706f8f7d28f0fe10 (diff)
downloadnextcloud-server-608456d2a90088e551de48439038da18a4c2a037.tar.gz
nextcloud-server-608456d2a90088e551de48439038da18a4c2a037.zip
Previews on for all trashbin files
* Previews possible for all files in the trashbin * Set caching * Use the fileid to find the file * Fix test Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_trashbin/js')
-rw-r--r--apps/files_trashbin/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/js/filelist.js b/apps/files_trashbin/js/filelist.js
index 510ab2c21bc..4846c2361fe 100644
--- a/apps/files_trashbin/js/filelist.js
+++ b/apps/files_trashbin/js/filelist.js
@@ -260,7 +260,7 @@
},
generatePreviewUrl: function(urlSpec) {
- return OC.generateUrl('/apps/files_trashbin/ajax/preview.php?') + $.param(urlSpec);
+ return OC.generateUrl('/apps/files_trashbin/preview?') + $.param(urlSpec);
},
getDownloadUrl: function() {