Merge pull request #3248 from FinnStutzenstein/ExportDialogFilename

Fixing error when downloading
This commit is contained in:
Emanuel Schütze 2017-05-15 13:45:07 +02:00 committed by GitHub
commit e0661e7343

View File

@ -706,6 +706,7 @@ angular.module('OpenSlidesApp.motions.pdf', ['OpenSlidesApp.core.pdf'])
}); });
}, },
export: function (motions, params, singleMotion) { export: function (motions, params, singleMotion) {
params = params || {};
_.defaults(params, { _.defaults(params, {
filename: gettextCatalog.getString('motions') + '.pdf', filename: gettextCatalog.getString('motions') + '.pdf',
}); });