Merge pull request #17706 from rullzer/external_diricon_filelist

The external directories should get the correct icon in filelist
This commit is contained in:
Morris Jobke 2015-07-17 16:39:46 +02:00
commit 37d085901b
1 changed files with 4 additions and 0 deletions

View File

@ -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