correctly update video preview when switching to or from timelines list view

This commit is contained in:
rolux 2012-06-10 19:34:27 +00:00
parent d9d79b1813
commit d3dafa065e

View file

@ -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();
}
}