mirror of
https://github.com/nextcloud/server.git
synced 2024-08-31 05:58:34 +02:00
Merge pull request #5378 from patschi/fix-5349
Fix #5349, no themed icon when dragging folder
This commit is contained in:
commit
eafaa2f238
@ -363,7 +363,7 @@ var createDragShadow = function(event) {
|
||||
tbody.append(newtr);
|
||||
if (elem.type === 'dir') {
|
||||
newtr.find('td.filename')
|
||||
.css('background-image', 'url(' + OC.imagePath('core', 'filetypes/folder.svg') + ')');
|
||||
.css('background-image', 'url(' + OC.MimeType.getIconUrl('folder') + ')');
|
||||
} else {
|
||||
var path = dir + '/' + elem.name;
|
||||
Files.lazyLoadPreview(path, elem.mimetype, function(previewpath) {
|
||||
|
Loading…
Reference in New Issue
Block a user