CC-3403 : Replace Now Playing with the new Timeline screen
This commit is contained in:
parent
3b32a16813
commit
f28f6659dc
6 changed files with 96 additions and 26 deletions
|
@ -346,13 +346,16 @@ var AIRTIME = (function(AIRTIME){
|
|||
}
|
||||
//current song is not set, set a timeout to refresh when the first item on the timeline starts.
|
||||
else {
|
||||
tr = tableDiv.find("tbody tr:first");
|
||||
aData = tr.data("aData");
|
||||
tr = tableDiv.find("tbody tr.sb-allowed.sb-header:first");
|
||||
|
||||
AIRTIME.showbuilder.timeout = setTimeout(function(){
|
||||
AIRTIME.showbuilder.resetTimestamp();
|
||||
oTable.fnDraw();
|
||||
}, aData.timeUntil * 1000); //need refresh in milliseconds
|
||||
if (tr.length > 0) {
|
||||
aData = tr.data("aData");
|
||||
|
||||
AIRTIME.showbuilder.timeout = setTimeout(function(){
|
||||
AIRTIME.showbuilder.resetTimestamp();
|
||||
oTable.fnDraw();
|
||||
}, aData.timeUntil * 1000); //need refresh in milliseconds
|
||||
}
|
||||
}
|
||||
},
|
||||
"fnHeaderCallback": function(nHead) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue