summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPatrik Kernstock <info@pkern.at>2017-06-13 17:11:05 +0200
committerPatrik Kernstock <info@pkern.at>2017-06-13 17:11:05 +0200
commit144fc1b5de29c496b662f333b14e3ada6398df44 (patch)
tree044c275a254dfb41df40e3dbd2b8e343f920708a /apps
parent72ccab0ab69ec9b23f90a0a908a9861c11323e94 (diff)
downloadnextcloud-server-144fc1b5de29c496b662f333b14e3ada6398df44.tar.gz
nextcloud-server-144fc1b5de29c496b662f333b14e3ada6398df44.zip
Fix #5349, no themed icon when dragging folder
Signed-off-by: Patrik Kernstock <info@pkern.at>
Diffstat (limited to 'apps')
-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) {