update video preview tooltip

This commit is contained in:
rolux 2013-02-11 12:59:41 +05:30
parent 0167e70710
commit a0b3f06fab

View file

@ -98,7 +98,9 @@ pandora.ui.info = function() {
return (
pandora.user.ui.item
&& ['timeline', 'player', 'editor'].indexOf(pandora.user.ui.itemView) > -1
) ? 'Go to Position' : 'Open in ' + Ox.getObjectById(
) ? 'Go to Position' : (
pandora.user.ui.item ? 'Switch to' : 'Open in'
) + Ox.getObjectById(
pandora.site.itemViews,
pandora.user.ui.videoView
).title + ' View';