From 7a2851368e91c8cf57d264d52f62fc43ab41db0a Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 11 Feb 2013 11:27:09 +0530 Subject: [PATCH] use tooltip in video preview --- static/js/pandora/info.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/js/pandora/info.js b/static/js/pandora/info.js index 529634e8c..5fb80ed67 100644 --- a/static/js/pandora/info.js +++ b/static/js/pandora/info.js @@ -94,6 +94,11 @@ pandora.ui.info = function() { position: !ui.item && ui.listView == 'timelines' ? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0) : 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 }) .bindEvent({