From d3dafa065ec6d3d85cffd15e9208a16cfacc4c3c Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 10 Jun 2012 19:34:27 +0000 Subject: [PATCH] correctly update video preview when switching to or from timelines list view --- static/js/pandora/info.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/info.js b/static/js/pandora/info.js index 2af4dee0..c8a59d64 100644 --- a/static/js/pandora/info.js +++ b/static/js/pandora/info.js @@ -19,7 +19,10 @@ pandora.ui.info = function() { pandora_item: updateInfo, pandora_listselection: updateInfo, pandora_listview: function(data) { - if (!pandora.isClipView(data.value) && pandora.isClipView(data.previousValue)) { + if ( + pandora.isClipView(data.value) != pandora.isClipView(data.previousValue) + || data.value == 'timelines' || data.previousValue == 'timelines' + ) { updateInfo(); } }