summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-06-13 12:21:17 -0500
committerGitHub <noreply@github.com>2017-06-13 12:21:17 -0500
commiteafaa2f2386287195932e3c9555b2d4dd542e9d2 (patch)
tree23b8361caf3c018d373803dae2e99734bcaeef5b /apps/files/js
parent666e4de55fa535377a8c733f40b4f9881f475b82 (diff)
parent144fc1b5de29c496b662f333b14e3ada6398df44 (diff)
downloadnextcloud-server-eafaa2f2386287195932e3c9555b2d4dd542e9d2.tar.gz
nextcloud-server-eafaa2f2386287195932e3c9555b2d4dd542e9d2.zip
Merge pull request #5378 from patschi/fix-5349
Fix #5349, no themed icon when dragging folder
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
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) {