diff options
author | Patrik Kernstock <info@pkern.at> | 2017-06-13 17:11:05 +0200 |
---|---|---|
committer | Patrik Kernstock <info@pkern.at> | 2017-06-13 17:11:05 +0200 |
commit | 144fc1b5de29c496b662f333b14e3ada6398df44 (patch) | |
tree | 044c275a254dfb41df40e3dbd2b8e343f920708a /apps | |
parent | 72ccab0ab69ec9b23f90a0a908a9861c11323e94 (diff) | |
download | nextcloud-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.js | 2 |
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) { |