Merge pull request #7351 from owncloud/fix_thumbnails_for_conflicts_in_subdirs
fix thumbnail generation for subdirectories in the conflicts dialog
This commit is contained in:
commit
a5c70f16d2
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ var OCdialogs = {
|
|||
conflict.find('.replacement .size').text(humanFileSize(replacement.size));
|
||||
conflict.find('.replacement .mtime').text(formatDate(replacement.lastModifiedDate));
|
||||
}
|
||||
var path = getPathForPreview(original.name);
|
||||
var path = original.directory + '/' +original.name;
|
||||
Files.lazyLoadPreview(path, original.mime, function(previewpath){
|
||||
conflict.find('.original .icon').css('background-image','url('+previewpath+')');
|
||||
}, 96, 96, original.etag);
|
||||
|
|
Loading…
Reference in a new issue