cleanup
This commit is contained in:
parent
02552f3f83
commit
c6c2a425cc
16 changed files with 224 additions and 73 deletions
|
|
@ -9,6 +9,7 @@ pandora.ui.previewDialog = function() {
|
|||
? pandora.site.posters.ratio
|
||||
: ($list.value(item, 'posterRatio') || pandora.site.posters.ratio),
|
||||
size = getSize(posterRatio),
|
||||
|
||||
that = Ox.Dialog({
|
||||
closeButton: true,
|
||||
content: Ox.Element(),
|
||||
|
|
@ -58,7 +59,9 @@ pandora.ui.previewDialog = function() {
|
|||
that.update = function() {
|
||||
pandora.requests.preview && pandora.api.cancel(pandora.requests.preview);
|
||||
pandora.requests.preview = pandora.api.find({
|
||||
keys: ['id', 'modified', 'posterRatio'].concat(pandora.site.itemTitleKeys),
|
||||
keys: [
|
||||
'id', 'modified', 'posterRatio'
|
||||
].concat(pandora.site.itemTitleKeys),
|
||||
query: {
|
||||
conditions: [{
|
||||
key: 'id',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue