]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix #5349, no themed icon when dragging folder 5388/head
authorPatrik Kernstock <info@pkern.at>
Tue, 13 Jun 2017 15:11:05 +0000 (17:11 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 13 Jun 2017 17:22:57 +0000 (12:22 -0500)
Signed-off-by: Patrik Kernstock <info@pkern.at>
apps/files/js/files.js

index a30194013e5a9a40214b8e67dc447cb6ed117147..cdc2e27a6128c1c3960ff45d88b288e300baeb45 100644 (file)
@@ -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) {