CC-3640: Refresh Datatable after "Importing in Progress" label disappears on the Playlist Builder screen.
-fixed
This commit is contained in:
parent
377fb509a1
commit
eff9ca85be
|
@ -520,10 +520,14 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
function checkImportStatus(){
|
function checkImportStatus(){
|
||||||
$.getJSON('/Preference/is-import-in-progress', function(data){
|
$.getJSON('/Preference/is-import-in-progress', function(data){
|
||||||
var div = $('#import_status');
|
var div = $('#import_status');
|
||||||
|
var table = $('#library_display').dataTable();
|
||||||
if (data == true){
|
if (data == true){
|
||||||
div.show();
|
div.show();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
if ($(div).is(':visible')) {
|
||||||
|
table.fnDraw();
|
||||||
|
}
|
||||||
div.hide();
|
div.hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue