From 17d9615631cc6f2fde4b1bcd4dbd20812b51d547 Mon Sep 17 00:00:00 2001 From: FinnStutzenstein Date: Wed, 10 May 2017 09:04:19 +0200 Subject: [PATCH] Fixing error when downloading --- openslides/motions/static/js/motions/pdf.js | 1 + 1 file changed, 1 insertion(+) diff --git a/openslides/motions/static/js/motions/pdf.js b/openslides/motions/static/js/motions/pdf.js index 528698f4e..5a7d2b05d 100644 --- a/openslides/motions/static/js/motions/pdf.js +++ b/openslides/motions/static/js/motions/pdf.js @@ -706,6 +706,7 @@ angular.module('OpenSlidesApp.motions.pdf', ['OpenSlidesApp.core.pdf']) }); }, export: function (motions, params, singleMotion) { + params = params || {}; _.defaults(params, { filename: gettextCatalog.getString('motions') + '.pdf', });