diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-07-09 18:42:46 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-07-09 18:42:46 +0200 |
commit | eb7a796ad98ec833e49c2544f03da52d11c302b1 (patch) | |
tree | 5b26b73bfbdb5e3692f15e10c590e93b8fc1bf8d /apps/files/js/filelist.js | |
parent | eea56dc309ea8fc5855990a7608654c3b07cf8ae (diff) | |
download | nextcloud-server-eb7a796ad98ec833e49c2544f03da52d11c302b1.tar.gz nextcloud-server-eb7a796ad98ec833e49c2544f03da52d11c302b1.zip |
Fix unit tests
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 79ee355125d..a3fd605ff7e 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -710,6 +710,14 @@ path = this.getCurrentDirectory(); } + if (type === 'dir') { + // use default folder icon + icon = icon || OC.imagePath('core', 'filetypes/folder'); + } + else { + icon = icon || OC.imagePath('core', 'filetypes/file'); + } + // filename td td = $('<td class="filename"></td>'); |