Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-24 10:59:32 +0300
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-24 10:59:32 +0300
commit9be43e10af99bacf97a3ceea9051031ac62f6d6f (patch)
treebc2bf41f25f284baf7320976f762d4b63c58d004 /core
parent9cdc3f0558b8c278e91037c2330b876da7ca99e2 (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.js1
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,