parent
29b03c1181
commit
f4fac98221
|
@ -296,6 +296,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
}
|
}
|
||||||
|
|
||||||
//if the now playing song is visible set a timeout to redraw the table at the start of the next song.
|
//if the now playing song is visible set a timeout to redraw the table at the start of the next song.
|
||||||
|
/*
|
||||||
tr = tableDiv.find("tr.sb-now-playing");
|
tr = tableDiv.find("tr.sb-now-playing");
|
||||||
if (tr.length > 0) {
|
if (tr.length > 0) {
|
||||||
var oTable = $('#show_builder_table').dataTable(),
|
var oTable = $('#show_builder_table').dataTable(),
|
||||||
|
@ -305,6 +306,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
oTable.fnDraw();
|
oTable.fnDraw();
|
||||||
}, aData.refresh * 1000); //need refresh in milliseconds
|
}, aData.refresh * 1000); //need refresh in milliseconds
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
},
|
},
|
||||||
"fnHeaderCallback": function(nHead) {
|
"fnHeaderCallback": function(nHead) {
|
||||||
|
|
|
@ -151,4 +151,9 @@ $(document).ready(function(){
|
||||||
AIRTIME.showbuilder.fnServerData.end = oRange.end;
|
AIRTIME.showbuilder.fnServerData.end = oRange.end;
|
||||||
|
|
||||||
AIRTIME.showbuilder.builderDataTable();
|
AIRTIME.showbuilder.builderDataTable();
|
||||||
|
|
||||||
|
setInterval(function(){
|
||||||
|
var oTable = $('#show_builder_table').dataTable();
|
||||||
|
oTable.fnDraw();
|
||||||
|
}, 10 * 1000); //need refresh in milliseconds
|
||||||
});
|
});
|
Loading…
Reference in New Issue