Fix #5349, no themed icon when dragging folder
Signed-off-by: Patrik Kernstock <info@pkern.at>
This commit is contained in:
parent
4c56414cab
commit
a292a4b778
|
@ -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