no timeline if items are not rendered
This commit is contained in:
parent
a711d2d2ce
commit
b30aff2163
1 changed files with 7 additions and 2 deletions
|
@ -287,7 +287,7 @@ pandora.ui.list = function() {
|
||||||
url: url,
|
url: url,
|
||||||
width: Math.round(ratio >= 1 ? size : size * ratio)
|
width: Math.round(ratio >= 1 ? size : size * ratio)
|
||||||
},
|
},
|
||||||
info: {
|
info: data.rendered ? {
|
||||||
css: {marginTop: '2px'},
|
css: {marginTop: '2px'},
|
||||||
element: Ox.BlockVideoTimeline,
|
element: Ox.BlockVideoTimeline,
|
||||||
events: {
|
events: {
|
||||||
|
@ -321,6 +321,11 @@ pandora.ui.list = function() {
|
||||||
}) : [],
|
}) : [],
|
||||||
type: pandora.user.ui.videoTimeline
|
type: pandora.user.ui.videoTimeline
|
||||||
}
|
}
|
||||||
|
} : {
|
||||||
|
css: {marginTop: '2px'},
|
||||||
|
element: Ox.Element,
|
||||||
|
id: data.id,
|
||||||
|
options: {}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -335,7 +340,7 @@ pandora.ui.list = function() {
|
||||||
keys: []
|
keys: []
|
||||||
}} : {})), callback);
|
}} : {})), callback);
|
||||||
},
|
},
|
||||||
keys: ['clips', 'director', 'duration', 'id', 'posterRatio', 'title', 'year'],
|
keys: ['clips', 'director', 'duration', 'id', 'posterRatio', 'rendered', 'title', 'year'],
|
||||||
selected: pandora.user.ui.listSelection,
|
selected: pandora.user.ui.listSelection,
|
||||||
size: 192,
|
size: 192,
|
||||||
sort: pandora.user.ui.listSort,
|
sort: pandora.user.ui.listSort,
|
||||||
|
|
Loading…
Reference in a new issue