From b1713b2f75370d6c597c2a2a16ab51431802ade2 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 6 May 2015 18:32:52 +0200 Subject: Enable file icons & previews in "Shared ..." categories * sharing API returns now the mimetype icon path * file previews are now lazyloaded by default (as the doc says) * fixes #16086 --- apps/files_sharing/js/sharedfilelist.js | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files_sharing/js') diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js index 2c7d6c7d43a..ca187940a08 100644 --- a/apps/files_sharing/js/sharedfilelist.js +++ b/apps/files_sharing/js/sharedfilelist.js @@ -176,6 +176,7 @@ .map(function(share) { var file = { id: share.file_source, + icon: share.icon, mimetype: share.mimetype }; if (share.item_type === 'folder') { -- cgit v1.2.3