From 32610e552c6c087cfe2f95adb889adc36e133c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Sun, 21 May 2017 22:20:57 +0200 Subject: [PATCH] Changed PdfImageConverter to ImageConverter (Fixed #3263). --- openslides/motions/static/js/motions/pdf.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openslides/motions/static/js/motions/pdf.js b/openslides/motions/static/js/motions/pdf.js index 6e4832383..c28b7d1eb 100644 --- a/openslides/motions/static/js/motions/pdf.js +++ b/openslides/motions/static/js/motions/pdf.js @@ -377,9 +377,9 @@ angular.module('OpenSlidesApp.motions.pdf', ['OpenSlidesApp.core.pdf']) 'gettextCatalog', 'PDFLayout', 'PdfMakeConverter', - 'PdfImageConverter', + 'ImageConverter', 'HTMLValidizer', - function ($q, gettextCatalog, PDFLayout, PdfMakeConverter, PdfImageConverter, HTMLValidizer) { + function ($q, gettextCatalog, PDFLayout, PdfMakeConverter, ImageConverter, HTMLValidizer) { /* * content should be an array of content blocks. Each content is an object providing a * heading and a text. E.g. @@ -518,7 +518,7 @@ angular.module('OpenSlidesApp.motions.pdf', ['OpenSlidesApp.core.pdf']) }; return $q(function (resolve) { - PdfImageConverter.toBase64(getImageSources()).then(function (imageMap) { + ImageConverter.toBase64(getImageSources()).then(function (imageMap) { converter = PdfMakeConverter.createInstance(imageMap); resolve({ getContent: getContent,