From b0b858a8089d4701b92b5abc8092117c99c5c6aa Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Sat, 20 Feb 2016 11:29:38 +0100 Subject: [PATCH] Mediafile PDF controls: set 'page-fit' (100%) by default, disabled previous/next buttons --- openslides/mediafiles/static/js/mediafiles/site.js | 2 +- .../static/templates/mediafiles/mediafile-list.html | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/openslides/mediafiles/static/js/mediafiles/site.js b/openslides/mediafiles/static/js/mediafiles/site.js index bbba1cd8b..7e3578b86 100644 --- a/openslides/mediafiles/static/js/mediafiles/site.js +++ b/openslides/mediafiles/static/js/mediafiles/site.js @@ -141,7 +141,7 @@ angular.module('OpenSlidesApp.mediafiles.site', ['ngFileUpload', 'OpenSlidesApp. id: mediafile.id, numPages: mediafile.mediafile.pages, page: 1, - scale: 1, + scale: 'page-fit', rotate: 0, visible: true }]; diff --git a/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html b/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html index d50c3289a..ccadb99dc 100644 --- a/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html +++ b/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html @@ -29,10 +29,12 @@