diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-24 10:59:32 +0300 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-24 10:59:32 +0300 |
commit | 9be43e10af99bacf97a3ceea9051031ac62f6d6f (patch) | |
tree | bc2bf41f25f284baf7320976f762d4b63c58d004 /core | |
parent | 9cdc3f0558b8c278e91037c2330b876da7ca99e2 (diff) |
Since the server no longer calculates the icon
The server no longer calculates the icon. So we have the js side do it
for us.
Diffstat (limited to 'core')
-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, |