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.
This commit is contained in:
Roeland Jago Douma 2015-12-24 08:59:32 +01:00
parent 9cdc3f0558
commit 9be43e10af
1 changed files with 1 additions and 0 deletions

View File

@ -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,