From 7f95c0ce6c070ecb0c933b7edfbfd65c2fe7b5a6 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 15 Jun 2012 13:35:48 +0000 Subject: [PATCH] enable timeline type in timeline list view --- static/js/pandora/list.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/list.js b/static/js/pandora/list.js index 52c8bfa5e..c3b64e0df 100644 --- a/static/js/pandora/list.js +++ b/static/js/pandora/list.js @@ -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'