Fix #5349, no themed icon when dragging folder
Signed-off-by: Patrik Kernstock <info@pkern.at>
This commit is contained in:
parent
72ccab0ab6
commit
144fc1b5de
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue