summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-23 10:04:03 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-23 10:04:03 +0200
commitc039bd2bd115afd23b4f24578f62b50fe87d48b4 (patch)
tree0bd63ca4922c6b290d6d1dfda1db17052e241dec /core/js
parentbf6a1650cefab86c1199a550eb32aedf6ea93362 (diff)
downloadnextcloud-server-c039bd2bd115afd23b4f24578f62b50fe87d48b4.tar.gz
nextcloud-server-c039bd2bd115afd23b4f24578f62b50fe87d48b4.zip
Filepicker grid
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/oc-dialogs.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index 7369298b8d5..c42b35ddcff 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -899,6 +899,8 @@ var OCdialogs = {
if (entry.type === 'file') {
var urlSpec = {
file: dir + '/' + entry.name,
+ x: 100,
+ y: 100
};
var img = new Image();
var previewUrl = OC.generateUrl('/core/preview.png?') + $.param(urlSpec);