diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-28 10:21:58 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-28 10:21:58 +0100 |
commit | 9c4ab517353d950627f7e36d983728f0deeccde7 (patch) | |
tree | 638d1dddd818b18720ce812a9b6516a8793b33a1 /core/js | |
parent | edd051dc02bf61d8de1b428e0cbe1a8bff8aee1e (diff) | |
parent | 9be43e10af99bacf97a3ceea9051031ac62f6d6f (diff) | |
download | nextcloud-server-9c4ab517353d950627f7e36d983728f0deeccde7.tar.gz nextcloud-server-9c4ab517353d950627f7e36d983728f0deeccde7.zip |
Merge pull request #21364 from owncloud/bring_back_icons_filepicker
Get the icon in javascript for the filepicker
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/oc-dialogs.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index fe93d0ea657..b77063a9eae 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -753,6 +753,7 @@ var OCdialogs = { var sorted = dirs.concat(others); $.each(sorted, function(idx, entry) { + entry.icon = OC.MimeType.getIconUrl(entry.mimetype); var $li = self.$listTmpl.octemplate({ type: entry.type, dir: dir, |