summaryrefslogtreecommitdiffstats
path: root/core/js/oc-dialogs.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-04-03 16:55:01 +0200
committerVincent Petry <pvince81@owncloud.com>2014-04-03 16:55:01 +0200
commit2b8bb0121133d460755202bfbb0e62433c12938c (patch)
tree37c57badae97dd619a710f805bfbd2e250c9e11e /core/js/oc-dialogs.js
parent31016631298294ff8b11d66c9c71647c64abad50 (diff)
downloadnextcloud-server-2b8bb0121133d460755202bfbb0e62433c12938c.tar.gz
nextcloud-server-2b8bb0121133d460755202bfbb0e62433c12938c.zip
Fixed mime type attribute access in file overwrite dialog
Diffstat (limited to 'core/js/oc-dialogs.js')
-rw-r--r--core/js/oc-dialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index 73ed20b7553..6fc8d4d3523 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 = 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+')');
}, 96, 96, original.etag);
getCroppedPreview(replacement).then(