forked from 0x2620/pandora
enable timeline type in timeline list view
This commit is contained in:
parent
1f6abbe32f
commit
7f95c0ce6c
1 changed files with 9 additions and 1 deletions
|
@ -554,7 +554,7 @@ pandora.ui.list = function() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (['list', 'grid', 'timelines'].indexOf(pandora.user.ui.listView) > -1) {
|
if (['list', 'grid', 'timelines'].indexOf(view) > -1) {
|
||||||
that.bindEvent({
|
that.bindEvent({
|
||||||
pandora_icons: function(data) {
|
pandora_icons: function(data) {
|
||||||
var src, previousSrc;
|
var src, previousSrc;
|
||||||
|
@ -584,6 +584,14 @@ pandora.ui.list = function() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (view == 'timelines') {
|
||||||
|
that.bindEvent({
|
||||||
|
pandora_videotimeline: function(data) {
|
||||||
|
that.reloadList(true);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
function hasIcons() {
|
function hasIcons() {
|
||||||
return (
|
return (
|
||||||
pandora.user.ui.listView == 'list'
|
pandora.user.ui.listView == 'list'
|
||||||
|
|
Loading…
Reference in a new issue