From f75fc026bad4663593010ad64927b6932c08b28d Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 7 Nov 2011 20:08:58 +0000 Subject: [PATCH] fix a bug where after selecting an item in clip view (making the poster appear) and then switching to grid view would not make the video preview appear (but keep the poster around) --- static/js/pandora/info.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/js/pandora/info.js b/static/js/pandora/info.js index 017cc3ff..8ac12f27 100644 --- a/static/js/pandora/info.js +++ b/static/js/pandora/info.js @@ -19,6 +19,11 @@ pandora.ui.info = function() { }, pandora_item: updateInfo, pandora_listselection: updateInfo, + pandora_listview: function(data) { + if (!pandora.isClipView(data.value) && pandora.isClipView(data.previousValue)) { + updateInfo(); + } + } }); //pandora.$ui.leftPanel && resize();