CC-3174 : showbuilder
adding timeout for the now playing song, as well as polling every 20 seconds.
This commit is contained in:
parent
f4fac98221
commit
59b7f4ab56
|
@ -296,7 +296,6 @@ 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.
|
||||
/*
|
||||
tr = tableDiv.find("tr.sb-now-playing");
|
||||
if (tr.length > 0) {
|
||||
var oTable = $('#show_builder_table').dataTable(),
|
||||
|
@ -306,8 +305,6 @@ var AIRTIME = (function(AIRTIME){
|
|||
oTable.fnDraw();
|
||||
}, aData.refresh * 1000); //need refresh in milliseconds
|
||||
}
|
||||
*/
|
||||
|
||||
},
|
||||
"fnHeaderCallback": function(nHead) {
|
||||
$(nHead).find("input[type=checkbox]").attr("checked", false);
|
||||
|
|
|
@ -155,5 +155,5 @@ $(document).ready(function(){
|
|||
setInterval(function(){
|
||||
var oTable = $('#show_builder_table').dataTable();
|
||||
oTable.fnDraw();
|
||||
}, 10 * 1000); //need refresh in milliseconds
|
||||
}, 20 * 1000); //need refresh in milliseconds
|
||||
});
|
Loading…
Reference in New Issue