# in pdf name not working

This commit is contained in:
j 2019-08-19 22:28:52 +02:00
commit 1d5fdf35ec
3 changed files with 7 additions and 2 deletions

View file

@ -196,7 +196,7 @@ pandora.ui.documentDialog = function(options) {
? pandora.user.ui.documents[item.id].position
: 1,
url: '/documents/' + item.id + '/'
+ item.title.replace('?', '_') + '.' + item.extension,
+ pandora.safePDFName(item.title + '.' + item.extension),
width: dialogWidth,
zoom: 'fit'
})