diff options
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/mimetype.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/mimetype.js b/core/js/mimetype.js index bad676d9357..7f206548177 100644 --- a/core/js/mimetype.js +++ b/core/js/mimetype.js @@ -50,7 +50,7 @@ OC.MimeType = { return 'folder-shared'; } else if (mimeType === 'dir-public' && $.inArray('folder-public', files) !== -1) { return 'folder-public'; - } else if (mimeType === 'dir-external' && $.inArray('folder-external', files) !== -1) { + } else if ((mimeType === 'dir-external' || mimeType === 'dir-external-root') && $.inArray('folder-external', files) !== -1) { return 'folder-external'; } else if ($.inArray(icon, files) !== -1) { return icon; |