From 79f7da4c32ce5879179cbbcc5cd7267faa97c2e9 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 23 Feb 2012 10:51:32 +0000 Subject: [PATCH] minor changes --- static/js/pandora/findElement.js | 2 ++ static/js/pandora/tv.js | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/findElement.js b/static/js/pandora/findElement.js index 66e6c1a13..271701338 100644 --- a/static/js/pandora/findElement.js +++ b/static/js/pandora/findElement.js @@ -18,6 +18,8 @@ pandora.ui.findElement = function() { }) .bindEvent({ change: function(data) { + Ox.print(data); + //pandora.$ui.mainMenu.checkItem('findMenu_find_' + ...); pandora.$ui.findInput.options({ autocomplete: autocompleteFunction() }).focusInput(true); diff --git a/static/js/pandora/tv.js b/static/js/pandora/tv.js index f466be4a3..e06718c62 100644 --- a/static/js/pandora/tv.js +++ b/static/js/pandora/tv.js @@ -66,8 +66,11 @@ pandora.ui.tv = function() { list || 'All ' + pandora.site.itemName.plural ) + ' — ' + result.data.title - + ' (' + result.data.director.join(', ') + ') ' - + result.data.year, + + ( + result.data.director + ? ' (' + result.data.director.join(', ') + ') ' + : '' + ) + result.data.year, video: videoOptions.video, volume: pandora.user.ui.videoVolume })