[Pkg-owncloud-commits] [owncloud] 128/153: Dont scale up the preview for publicly shared images

David Prévot taffit at moszumanska.debian.org
Tue May 27 03:05:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 157b139b577a6a89fa734ba4c0ab91e6e80286e4
Author: Robin Appelman <icewind at owncloud.com>
Date:   Tue May 20 13:45:14 2014 +0200

    Dont scale up the preview for publicly shared images
---
 apps/files_sharing/js/public.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index ce9a212..d825ee9 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -59,7 +59,8 @@ OCA.Sharing.PublicApp = {
 				x: $(document).width() * window.devicePixelRatio,
 				a: 'true',
 				file: encodeURIComponent(this.initialDir + $('#filename').val()),
-				t: $('#sharingToken').val()
+				t: $('#sharingToken').val(),
+				scalingup: 0
 			};
 
 			var img = $('<img class="publicpreview">');

-- 
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