Fix #5349, no themed icon when dragging folder

Signed-off-by: Patrik Kernstock <info@pkern.at>
This commit is contained in:
Patrik Kernstock 2017-06-13 17:11:05 +02:00 committed by Morris Jobke
parent 4c56414cab
commit a292a4b778
1 changed files with 1 additions and 1 deletions

View 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) {