From 592d7796cd234aaa055a5a7cf87d6df5a93c77e2 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 11 Feb 2013 10:44:21 +0530 Subject: [PATCH] explicitely display 'No Video' in video info for items without video --- static/js/pandora/info.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/static/js/pandora/info.js b/static/js/pandora/info.js index f977a243..6a65b6fd 100644 --- a/static/js/pandora/info.js +++ b/static/js/pandora/info.js @@ -115,6 +115,19 @@ pandora.ui.info = function() { } }) ); + } else { + that.append( + Ox.Bar({size: 16}).css({ + position: 'absolute', + bottom: 0 + }).append( + $('
').css({ + marginTop: '2px', + fontSize: '9px', + textAlign: 'center' + }).html('No Video') + ) + ); } previousView != 'video' && resizeInfo(); });