mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 17:48:40 -04:00
Merge pull request #21364 from owncloud/bring_back_icons_filepicker
Get the icon in javascript for the filepicker
This commit is contained in:
commit
9c4ab51735
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue