# 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

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