Skip to content
Snippets Groups Projects
Commit 9be43e10 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

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.
parent 9cdc3f05
No related branches found
No related tags found
No related merge requests found
...@@ -753,6 +753,7 @@ var OCdialogs = { ...@@ -753,6 +753,7 @@ var OCdialogs = {
var sorted = dirs.concat(others); var sorted = dirs.concat(others);
$.each(sorted, function(idx, entry) { $.each(sorted, function(idx, entry) {
entry.icon = OC.MimeType.getIconUrl(entry.mimetype);
var $li = self.$listTmpl.octemplate({ var $li = self.$listTmpl.octemplate({
type: entry.type, type: entry.type,
dir: dir, dir: dir,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment