From a292a4b7789b96b7eefe2bb30646d8337b0e4e4d Mon Sep 17 00:00:00 2001 From: Patrik Kernstock Date: Tue, 13 Jun 2017 17:11:05 +0200 Subject: [PATCH] Fix #5349, no themed icon when dragging folder Signed-off-by: Patrik Kernstock --- apps/files/js/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/js/files.js b/apps/files/js/files.js index a30194013e5..cdc2e27a612 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -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) { -- 2.39.5