enable timeline type in timeline list view

This commit is contained in:
rolux 2012-06-15 13:35:48 +00:00
parent 1f6abbe32f
commit 7f95c0ce6c

View file

@ -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({
pandora_icons: function(data) {
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() {
return (
pandora.user.ui.listView == 'list'