diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-20 14:29:45 +0200 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-10-07 11:14:11 +0200 |
commit | 5a174eba8304680db8604592089804ab64e77258 (patch) | |
tree | 54893f1f0636583cb6ff27259fc6d2fd69b7cef9 /core/js/oc-dialogs.js | |
parent | 3be8e3f8d3c6940be408b89f8266be89b81226cf (diff) | |
download | nextcloud-server-5a174eba8304680db8604592089804ab64e77258.tar.gz nextcloud-server-5a174eba8304680db8604592089804ab64e77258.zip |
use correct property for mimetype of existing files
Diffstat (limited to 'core/js/oc-dialogs.js')
-rw-r--r-- | core/js/oc-dialogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index ac37b109e76..e5e9f6dbb7d 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -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( |