forked from 0x2620/pandora
fix document preview for documents with '?' in title
This commit is contained in:
parent
cb1b61cc24
commit
ad6d5dd850
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ pandora.ui.documentDialog = function(options) {
|
|||
? pandora.user.ui.documents[item.id].position
|
||||
: 1,
|
||||
url: '/documents/' + item.id + '/'
|
||||
+ item.title + '.' + item.extension,
|
||||
+ item.title.replace('?', '_') + '.' + item.extension,
|
||||
width: dialogWidth,
|
||||
zoom: 'fit'
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue