CC-84: Smart Playlists
- fixed bug on expanding block - fixed text bug
This commit is contained in:
parent
028e089c82
commit
af939469d3
|
@ -279,7 +279,7 @@ EOT;
|
||||||
if ($modifier == "minutes") {
|
if ($modifier == "minutes") {
|
||||||
$length = "00:".$value.":00";
|
$length = "00:".$value.":00";
|
||||||
} else if ($modifier == "hours") {
|
} else if ($modifier == "hours") {
|
||||||
$length = $value."00:00";
|
$length = $value.":00:00";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $length;
|
return $length;
|
||||||
|
|
|
@ -366,8 +366,11 @@ var AIRTIME = (function(AIRTIME){
|
||||||
var isStatic = data.isStatic;
|
var isStatic = data.isStatic;
|
||||||
delete data.type;
|
delete data.type;
|
||||||
if (isStatic) {
|
if (isStatic) {
|
||||||
|
console.log(data);
|
||||||
$.each(data, function(index, ele){
|
$.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 {
|
} else {
|
||||||
for (var key in data.crit){
|
for (var key in data.crit){
|
||||||
|
|
Loading…
Reference in New Issue