[Pkg-owncloud-commits] [owncloud] 08/123: add max-width of 600px to filepicker
David Prévot
taffit at moszumanska.debian.org
Tue May 19 23:55:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit de04501c9720a81759c66162e01d351aa82132b8
Author: Morris Jobke <hey at morrisjobke.de>
Date: Wed May 6 11:15:48 2015 +0200
add max-width of 600px to filepicker
---
core/js/oc-dialogs.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index afd7deb..0692a9d 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,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list