summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-07-13 17:41:20 +0200
committerLukas Reschke <lukas@owncloud.com>2015-11-22 16:05:50 +0100
commitf20232d4bd3e78c4ea980aa03849c3f9bcf5b893 (patch)
treec23d4511baaf4df2d1c397326334d40f8455243a /apps/files/js
parentfa2be0750c50de45a2fd101eb23fa858c0e0771b (diff)
downloadnextcloud-server-f20232d4bd3e78c4ea980aa03849c3f9bcf5b893.tar.gz
nextcloud-server-f20232d4bd3e78c4ea980aa03849c3f9bcf5b893.zip
Make public link share page work with Webdav and add operations
The public page now uses the public.php/webdav endpoint. Also enabled more file operations like rename, move, delete and create folder from the public page, which are now all possible thanks to the public.php/webdav endpoint.
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 6bdd14ac65d..e33b8354437 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -207,7 +207,7 @@
*/
lazyLoadPreview : function(path, mime, ready, width, height, etag) {
console.warn('DEPRECATED: please use lazyLoadPreview() from an OCA.Files.FileList instance');
- return OCA.Files.App.fileList.lazyLoadPreview({
+ return FileList.lazyLoadPreview({
path: path,
mime: mime,
callback: ready,