CC-84: Smart Playlists

- fixed bug on expanding block
- fixed text bug
This commit is contained in:
James 2012-08-02 17:02:24 -04:00
parent 028e089c82
commit af939469d3
2 changed files with 5 additions and 2 deletions

View file

@ -366,8 +366,11 @@ var AIRTIME = (function(AIRTIME){
var isStatic = data.isStatic;
delete data.type;
if (isStatic) {
console.log(data);
$.each(data, function(index, ele){
$html += "<div>"+ele.track_title+" "+ele.creator+" "+ele.length+"</div>";
if (ele.track_title !== undefined) {
$html += "<div>"+ele.track_title+" "+ele.creator+" "+ele.length+"</div>";
}
})
} else {
for (var key in data.crit){