From 0df6dba5342b9979978f1f6211a4e78b52dade68 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 11 Feb 2013 12:03:53 +0530 Subject: [PATCH] use 'videoTooltip' --- static/js/pandora/info.js | 2 +- static/js/pandora/videoPreview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/info.js b/static/js/pandora/info.js index eb077423..d517eeac 100644 --- a/static/js/pandora/info.js +++ b/static/js/pandora/info.js @@ -94,7 +94,7 @@ pandora.ui.info = function() { position: !ui.item && ui.listView == 'timelines' ? (ui.videoPoints[id] ? ui.videoPoints[id].position : 0) : result.data.posterFrame, - tooltip: function() { + videoTooltip: function() { return (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1) ? 'Go to Position' : 'Open in ' + Ox.getObjectById( pandora.site.itemViews, diff --git a/static/js/pandora/videoPreview.js b/static/js/pandora/videoPreview.js index c572cba1..57f50a24 100644 --- a/static/js/pandora/videoPreview.js +++ b/static/js/pandora/videoPreview.js @@ -21,7 +21,7 @@ pandora.ui.videoPreview = function(data) { position: data.position, scaleToFill: true, timeline: '/' + data.id + '/timeline16p.jpg', - tooltip: data.tooltip, + videoTooltip: data.videoTooltip, width: data.width }); return that;