From 0c823af6608a92801740470358f05986b4e30d86 Mon Sep 17 00:00:00 2001 From: denise Date: Wed, 19 Sep 2012 10:49:17 -0400 Subject: [PATCH 1/2] CC-4155: Playlist Builder: Style static/dynamic expansion blocks in playlist contents -done --- airtime_mvc/public/js/airtime/library/spl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/airtime/library/spl.js b/airtime_mvc/public/js/airtime/library/spl.js index 79c761efd..ca9d88cf3 100644 --- a/airtime_mvc/public/js/airtime/library/spl.js +++ b/airtime_mvc/public/js/airtime/library/spl.js @@ -429,7 +429,7 @@ var AIRTIME = (function(AIRTIME){ $.each(data, function(index, ele){ if (ele.track_title !== undefined) { $html += "
  • " + - ""+ele.track_title+"" + + ""+ele.track_title+" - " + ""+ele.creator+"" + ""+ele.length+"" + "
  • "; From dc95ab1d00975ee93e0e0813dbf6aedb44e24c1e Mon Sep 17 00:00:00 2001 From: denise Date: Wed, 19 Sep 2012 11:05:17 -0400 Subject: [PATCH 2/2] CC-4155: Playlist Builder: Style static/dynamic expansion blocks in playlist contents -changed null values to empty strings --- airtime_mvc/public/js/airtime/library/spl.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/airtime_mvc/public/js/airtime/library/spl.js b/airtime_mvc/public/js/airtime/library/spl.js index ca9d88cf3..2513f97d9 100644 --- a/airtime_mvc/public/js/airtime/library/spl.js +++ b/airtime_mvc/public/js/airtime/library/spl.js @@ -428,6 +428,12 @@ var AIRTIME = (function(AIRTIME){ if (isStatic) { $.each(data, function(index, ele){ if (ele.track_title !== undefined) { + if (ele.creator === null) { + ele.creator = ""; + } + if (ele.track_title === null) { + ele.track_title = ""; + } $html += "
  • " + ""+ele.track_title+" - " + ""+ele.creator+"" +