use correct property for mimetype of existing files

This commit is contained in:
Jörn Friedrich Dreyer 2013-09-20 14:29:45 +02:00 committed by Morris Jobke
parent 3be8e3f8d3
commit 5a174eba83
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ var OCdialogs = {
conflict.find('.replacement .mtime').text(formatDate(replacement.lastModifiedDate));
}
var path = getPathForPreview(original.name);
lazyLoadPreview(path, original.type, function(previewpath){
lazyLoadPreview(path, original.mime, function(previewpath){
conflict.find('.original .icon').css('background-image','url('+previewpath+')');
}, 96, 96);
getCroppedPreview(replacement).then(