Merge pull request #3248 from FinnStutzenstein/ExportDialogFilename
Fixing error when downloading
This commit is contained in:
commit
e0661e7343
@ -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',
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user