fix document creation

This commit is contained in:
j 2017-01-27 12:26:55 +00:00
commit 620c8a7d96
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ pandora.ui.embedDocumentDialog = function(id, position) {
marginTop: '8px'
})
.val(
'<a href="/documents/' + id
'<a href="/document/' + id
+ (position ? '/' + position : '')
+ '"><img src="/documents/' + id + '/256p'
+ (position || '') + '.jpg"></a>'