make pad.ma info view icon link to video view

This commit is contained in:
rolux 2013-02-09 15:33:14 +05:30
parent fdad3d6f26
commit a20b135d42

View file

@ -44,6 +44,10 @@ pandora.ui.infoView = function(data) {
$icon = Ox.Element({
element: '<img>',
tooltip: 'Open in ' + Ox.getObjectById(
pandora.site.itemViews,
ui.videoView
).title
})
.attr({
src: '/' + data.id + '/' + (
@ -58,6 +62,11 @@ pandora.ui.infoView = function(data) {
height: iconHeight + 'px',
borderRadius: borderRadius + 'px'
})
.bindEvent({
anyclick: function() {
pandora.UI.set({itemView: ui.videoView});
}
})
.appendTo($left),
$reflection = $('<div>')