diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-07-13 17:38:13 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-11-22 16:05:50 +0100 |
commit | fa2be0750c50de45a2fd101eb23fa858c0e0771b (patch) | |
tree | 977892b4eeaf9c26e7157575d5c1909e6aa5febd /apps/files_sharing/js/sharedfilelist.js | |
parent | f120846e291bf83244831770c5f25b730fa8ba90 (diff) | |
download | nextcloud-server-fa2be0750c50de45a2fd101eb23fa858c0e0771b.tar.gz nextcloud-server-fa2be0750c50de45a2fd101eb23fa858c0e0771b.zip |
Make files app use Webdav for most operations
Diffstat (limited to 'apps/files_sharing/js/sharedfilelist.js')
-rw-r--r-- | apps/files_sharing/js/sharedfilelist.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js index 68bfd63ec89..a799d4a94c2 100644 --- a/apps/files_sharing/js/sharedfilelist.js +++ b/apps/files_sharing/js/sharedfilelist.js @@ -231,6 +231,7 @@ files = _.chain(files) // convert share data to file data .map(function(share) { + // TODO: use OC.Files.FileInfo var file = { id: share.file_source, icon: OC.MimeType.getIconUrl(share.mimetype), @@ -242,9 +243,6 @@ } else { file.type = 'file'; - if (share.isPreviewAvailable) { - file.isPreviewAvailable = true; - } } file.share = { id: share.id, |