CC-84: Smart Playlists
- static playlist is done.
This commit is contained in:
parent
1bb97c8603
commit
fc09baacd7
4 changed files with 114 additions and 19 deletions
|
@ -658,6 +658,10 @@ var AIRTIME = (function(AIRTIME){
|
|||
});
|
||||
};
|
||||
|
||||
mod.fnOpenPlaylist = function(json) {
|
||||
openPlaylist(json);
|
||||
};
|
||||
|
||||
mod.enableUI = function() {
|
||||
|
||||
$lib.unblock();
|
||||
|
|
|
@ -221,9 +221,11 @@ function staticCallback(data) {
|
|||
});
|
||||
});
|
||||
} else {
|
||||
AIRTIME.playlist.fnAddItems(json.ids, null, 'after');
|
||||
AIRTIME.playlist.fnOpenPlaylist(json);
|
||||
var form = $('#smart-playlist-form');
|
||||
form.find('.success').text('Smart playlist generated');
|
||||
form.find('.success').show();
|
||||
form.find('#smart_playlist_options').removeClass("closed");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue