Add processing div to podcast episodes table
This commit is contained in:
parent
840f446e07
commit
3010fa01fa
2 changed files with 15 additions and 6 deletions
|
@ -539,6 +539,7 @@ var AIRTIME = (function (AIRTIME) {
|
|||
*/
|
||||
mod.importSelectedEpisodes = function (episodes, dt) {
|
||||
$.each(episodes, function () {
|
||||
// remainingDiskSpace is defined in layout.phtml
|
||||
if (this.enclosure.length > remainingDiskSpace) {
|
||||
alert("You don't have enough disk space to import " + this.title);
|
||||
return false;
|
||||
|
@ -623,6 +624,9 @@ var AIRTIME = (function (AIRTIME) {
|
|||
},
|
||||
fnDrawCallback: function () {
|
||||
AIRTIME.library.drawEmptyPlaceholder(this);
|
||||
// Hide the processing div
|
||||
var dt = this.getDatatable();
|
||||
!dt || dt.closest(".dataTables_wrapper").find(".dataTables_processing").css("visibility", "hidden");
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue