diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-07-17 14:30:12 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-07-17 14:30:12 +0200 |
commit | b0f21c0a4312186bed11037d0856b5e469ce7671 (patch) | |
tree | 1c75925cfa512d2223e2a0221b806ea961519e3c /apps/files/js/filelist.js | |
parent | dce462c28db1d5e5b144efcfb26a466bd290621c (diff) | |
download | nextcloud-server-b0f21c0a4312186bed11037d0856b5e469ce7671.tar.gz nextcloud-server-b0f21c0a4312186bed11037d0856b5e469ce7671.zip |
The external directories should get the correct icon
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 4 insertions, 0 deletions
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 |