Merge pull request #21364 from owncloud/bring_back_icons_filepicker

Get the icon in javascript for the filepicker
This commit is contained in:
Thomas Müller 2015-12-28 10:21:58 +01:00
commit 9c4ab51735

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,