From b0f21c0a4312186bed11037d0856b5e469ce7671 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 17 Jul 2015 14:30:12 +0200 Subject: The external directories should get the correct icon --- apps/files/js/filelist.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps') diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index a3fd605ff7e..183b5e909a6 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -685,6 +685,10 @@ if (type === 'dir') { mime = mime || 'httpd/unix-directory'; + + if (fileData.mountType && fileData.mountType.indexOf('external') === 0) { + icon = OC.MimeType.getIconUrl('dir-external'); + } } //containing tr -- cgit v1.2.3