diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-05-06 11:15:48 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-05-06 11:15:48 +0200 |
commit | de04501c9720a81759c66162e01d351aa82132b8 (patch) | |
tree | 1d9f07d113ef7fdc53a73e2dfdf6b80177730fb9 /core/js | |
parent | e0640a0232236854e08a7b8bb57958229ae21f44 (diff) | |
download | nextcloud-server-de04501c9720a81759c66162e01d351aa82132b8.tar.gz nextcloud-server-de04501c9720a81759c66162e01d351aa82132b8.zip |
add max-width of 600px to filepicker
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/oc-dialogs.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index afd7debb695..0692a9df5ca 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -207,7 +207,8 @@ var OCdialogs = { self.$filePicker.ocdialog({ closeOnEscape: true, - width: (4/5)*$(document).width(), + // max-width of 600 + width: Math.min((4/5)*$(document).width(), 600), height: 420, modal: modal, buttons: buttonlist, |