Compare commits
2 commits
6c7c08448d
...
007b9394c7
| Author | SHA1 | Date | |
|---|---|---|---|
| 007b9394c7 | |||
| a5e231f43c |
2 changed files with 5 additions and 2 deletions
|
|
@ -80,7 +80,7 @@ pandora.ui.document = function() {
|
|||
imageHeight: item.dimensions[1],
|
||||
imagePreviewURL: pandora.getMediaURL('/documents/' + item.id + '/256p.jpg?' + item.modified),
|
||||
imageURL: pandora.getMediaURL('/documents/' + item.id + '/'
|
||||
+ item.title + '.' + item.extension + '?' + item.modified),
|
||||
+ pandora.safePDFName(item.title) + '.' + item.extension + '?' + item.modified),
|
||||
imageWidth: item.dimensions[0],
|
||||
width: that.width()
|
||||
}).css({
|
||||
|
|
|
|||
|
|
@ -424,7 +424,10 @@ pandora.uploadDroppedFiles = function(files) {
|
|||
}
|
||||
}).open();
|
||||
} else {
|
||||
pandora.ui.addItemDialog({files: files}).open()
|
||||
pandora.ui.addItemDialog({
|
||||
files: files,
|
||||
selected: 'upload'
|
||||
}).open()
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue