use tooltip in video preview

This commit is contained in:
rolux 2013-02-11 11:27:09 +05:30
parent 5b0b368c7e
commit 7a2851368e

View file

@ -94,6 +94,11 @@ pandora.ui.info = function() {
position: !ui.item && ui.listView == 'timelines' position: !ui.item && ui.listView == 'timelines'
? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0) ? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0)
: result.data.posterFrame, : result.data.posterFrame,
tooltip: (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1)
? '' : 'Open in ' + Ox.getObjectById(
pandora.site.itemViews,
ui.videoView
).title + ' View',
width: ui.sidebarSize width: ui.sidebarSize
}) })
.bindEvent({ .bindEvent({