Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
d18acfdc75
|
@ -279,7 +279,7 @@ EOT;
|
|||
if ($modifier == "minutes") {
|
||||
$length = "00:".$value.":00";
|
||||
} else if ($modifier == "hours") {
|
||||
$length = $value."00:00";
|
||||
$length = $value.":00:00";
|
||||
}
|
||||
}
|
||||
return $length;
|
||||
|
|
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue