summaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-05-12 15:17:43 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-05-12 15:17:43 +0200
commit46e4d8818ce951383dc467f46f8fc0492536cd48 (patch)
treeef5949e113ebd2e482e09aac573fff97fd1efd54 /apps/files/js/filelist.js
parent127b0d9edf4d5666bff4163ecd931ebb8d1d50c6 (diff)
parentb1713b2f75370d6c597c2a2a16ab51431802ade2 (diff)
downloadnextcloud-server-46e4d8818ce951383dc467f46f8fc0492536cd48.tar.gz
nextcloud-server-46e4d8818ce951383dc467f46f8fc0492536cd48.zip
Merge pull request #16127 from owncloud/fix-file-icons-in-shared-file-view
Enable file icons & previews in "Shared ..." categories
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 0181acab596..e88ea1ad5d7 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -950,7 +950,8 @@
if (fileData.isPreviewAvailable) {
var iconDiv = filenameTd.find('.thumbnail');
// lazy load / newly inserted td ?
- if (options.animate) {
+ // the typeof check ensures that the default value of animate is true
+ if (typeof(options.animate) === 'undefined' || !!options.animate) {
this.lazyLoadPreview({
path: path + '/' + fileData.name,
mime: mime,