CC-3640: Refresh Datatable after "Importing in Progress" label disappears on the Playlist Builder screen.

-fixed
This commit is contained in:
denise 2012-04-13 16:52:22 -04:00
parent 377fb509a1
commit eff9ca85be
1 changed files with 4 additions and 0 deletions

View File

@ -520,10 +520,14 @@ var AIRTIME = (function(AIRTIME) {
function checkImportStatus(){
$.getJSON('/Preference/is-import-in-progress', function(data){
var div = $('#import_status');
var table = $('#library_display').dataTable();
if (data == true){
div.show();
}
else{
if ($(div).is(':visible')) {
table.fnDraw();
}
div.hide();
}
});