From eff9ca85be93eae9dfc0ab5486cc22ec888d59ea Mon Sep 17 00:00:00 2001 From: denise Date: Fri, 13 Apr 2012 16:52:22 -0400 Subject: [PATCH] CC-3640: Refresh Datatable after "Importing in Progress" label disappears on the Playlist Builder screen. -fixed --- airtime_mvc/public/js/airtime/library/library.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/airtime_mvc/public/js/airtime/library/library.js b/airtime_mvc/public/js/airtime/library/library.js index 7245378aa..ad25555ab 100644 --- a/airtime_mvc/public/js/airtime/library/library.js +++ b/airtime_mvc/public/js/airtime/library/library.js @@ -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(); } });