From 6d34d2195c0097bc2f8b9124dc9984167bce3a95 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sat, 12 Mar 2011 17:19:52 +0530 Subject: [PATCH] oops - display track correctly, and not 'undefined' --- padmaTexts/static/js/views/sidebar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/padmaTexts/static/js/views/sidebar.js b/padmaTexts/static/js/views/sidebar.js index 1cbb37d..d7e55f2 100644 --- a/padmaTexts/static/js/views/sidebar.js +++ b/padmaTexts/static/js/views/sidebar.js @@ -174,10 +174,10 @@ function setupPadmaLink(videoObj, data) { var thisTrack = tracks[t]; var thisTrackLayers = filterLayersByTracks(currentLayers, [thisTrack]); if (thisTrackLayers.length > 0) { - annotHtml += thisTrack + "s
"; + annotHtml += '' + thisTrack + "s:
"; } for (var i=0; i < thisTrackLayers.length; i++) { - var thisTrack = '' + thisTrackLayers[i] + ':'; + var thisTrack = thisTrackLayers[i]; var thisHtml = ''; thisHtml += " " + thisTrack.value_html + ""; thisHtml += "
";