Fixed mime type attribute access in file overwrite dialog
This commit is contained in:
parent
3101663129
commit
2b8bb01211
|
@ -294,7 +294,7 @@ var OCdialogs = {
|
||||||
conflict.find('.replacement .mtime').text(formatDate(replacement.lastModifiedDate));
|
conflict.find('.replacement .mtime').text(formatDate(replacement.lastModifiedDate));
|
||||||
}
|
}
|
||||||
var path = original.directory + '/' +original.name;
|
var path = original.directory + '/' +original.name;
|
||||||
Files.lazyLoadPreview(path, original.mime, function(previewpath){
|
Files.lazyLoadPreview(path, original.mimetype, function(previewpath){
|
||||||
conflict.find('.original .icon').css('background-image','url('+previewpath+')');
|
conflict.find('.original .icon').css('background-image','url('+previewpath+')');
|
||||||
}, 96, 96, original.etag);
|
}, 96, 96, original.etag);
|
||||||
getCroppedPreview(replacement).then(
|
getCroppedPreview(replacement).then(
|
||||||
|
|
Loading…
Reference in New Issue