]> source.dussan.org Git - nextcloud-server.git/commit
Return and use isPreviewAvailable for share previews
authorVincent Petry <pvince81@owncloud.com>
Fri, 4 Jul 2014 09:10:54 +0000 (11:10 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 4 Jul 2014 09:16:23 +0000 (11:16 +0200)
commit5e8959a5b36f8ff150497d818ba09a8828ba5a7b
treeb6448db70d5d2743fee01275a4269dc4305137c0
parente4a3f8d3c44f3238071d03f793cd2c5395062b5e
Return and use isPreviewAvailable for share previews

Since the mime type is known, now isPreviewAvailable is returned as well
and used by the JS side to properly render mime icon and previews.
apps/files_sharing/js/sharedfilelist.js
apps/files_sharing/lib/api.php