CC-4155: Playlist Builder: Style static/dynamic expansion blocks in playlist contents
-changed null values to empty strings
This commit is contained in:
parent
281e7d1092
commit
dc95ab1d00
|
@ -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 += "<li>" +
|
||||
"<span class='block-item-title'>"+ele.track_title+" - </span>" +
|
||||
"<span class='block-item-author'>"+ele.creator+"</span>" +
|
||||
|
|
Loading…
Reference in New Issue