diff --git a/static/js/info.js b/static/js/info.js index 0ca37ce3..2b1e82d9 100644 --- a/static/js/info.js +++ b/static/js/info.js @@ -350,9 +350,19 @@ pandora.ui.listInfo = function() { }; pandora.ui.posterInfo = function(data) { - var $poster = $('') + var $poster = Ox.Element({ + element: '', + tooltip: function() { + return Ox._('Open in Info View'); + } + }) .attr({src: '/' + data.id + '/poster512.jpg?' + data.modified}) - .css(getPosterCSS()), + .css(getPosterCSS()) + .bindEvent({ + anyclick: function() { + pandora.UI.set({item: data.id, itemView: 'info'}); + } + }), $text = $('
') .css({ width: pandora.user.ui.sidebarSize - 8 + 'px',