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