podcast smartblock generation: add success message and conditional hide
This commit is contained in:
parent
5829996202
commit
bde87c7afb
3 changed files with 65 additions and 81 deletions
|
@ -61,7 +61,16 @@ var AIRTIME = (function (AIRTIME) {
|
|||
id: $scope.podcast.id,
|
||||
title: $scope.podcast.title
|
||||
},
|
||||
callback
|
||||
function() {
|
||||
var successMsg = $('.active-tab .pc-sb-success')
|
||||
successMsg.text($.i18n._('Smartblock and playlist generated'));
|
||||
successMsg.show();
|
||||
setTimeout(function(){
|
||||
successMsg.hide();
|
||||
}, 5000);
|
||||
dt = $('table[id="library_display"]').dataTable();
|
||||
dt.fnStandingRedraw();
|
||||
}
|
||||
);
|
||||
// save podcast
|
||||
$scope.savePodcast();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue