CC-3735 : Now Playing: Browser(Firefox) Mem usage goes high when play a show with hundreds of songs more than 3 hours
This commit is contained in:
parent
af1b5d3f7a
commit
b5b24ae8f1
3 changed files with 13 additions and 13 deletions
|
@ -206,8 +206,7 @@ AIRTIME = (function(AIRTIME) {
|
|||
}
|
||||
});
|
||||
|
||||
//check if the timeline viewed needs updating.
|
||||
setInterval(function(){
|
||||
function checkScheduleUpdates(){
|
||||
var data = {},
|
||||
oTable = $('#show_builder_table').dataTable(),
|
||||
fn = oTable.fnSettings().fnServerData,
|
||||
|
@ -235,10 +234,11 @@ AIRTIME = (function(AIRTIME) {
|
|||
oTable.fnDraw();
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
||||
}, 5 * 1000); //need refresh in milliseconds
|
||||
|
||||
} );
|
||||
}
|
||||
|
||||
//check if the timeline view needs updating.
|
||||
setInterval(checkScheduleUpdates, 5 * 1000); //need refresh in milliseconds
|
||||
};
|
||||
|
||||
mod.onResize = function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue