Fix for creating assignment ballot pdf.

This commit is contained in:
Emanuel Schütze 2018-03-19 10:15:23 +01:00
parent 09e74481cb
commit 288c1cafb9
1 changed files with 1 additions and 1 deletions

View File

@ -658,7 +658,7 @@ angular.module('OpenSlidesApp.assignments.pdf', ['OpenSlidesApp.core.pdf'])
var filename = gettextCatalog.getString('Ballot') + '_' + pollNumber + '_' + assignment.title + '.pdf';
BallotContentProvider.createInstance(assignment, thePoll, pollNumber).then(function (ballotContentProvider) {
var documentProvider = PdfMakeBallotPaperProvider.createInstance(ballotContentProvider);
PdfCreate.download(documentProvider.getDocument(), filename);
PdfCreate.download(documentProvider, filename);
});
},
};