CC-84: Smart Playlists
- save playlist type to db - on edit type is loaded
This commit is contained in:
parent
fc09baacd7
commit
a4ba776b0f
4 changed files with 89 additions and 32 deletions
|
@ -1,7 +1,7 @@
|
|||
$(document).ready(function() {
|
||||
setSmartPlaylistEvents();
|
||||
var form = $('#smart-playlist-form');
|
||||
appendAddButton(form);
|
||||
/*var form = $('#smart-playlist-form');
|
||||
appendAddButton(form);*/
|
||||
});
|
||||
|
||||
function setSmartPlaylistEvents() {
|
||||
|
@ -158,7 +158,8 @@ function setSmartPlaylistEvents() {
|
|||
disableAndHideExtraField(criteria_value, index_num);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
appendAddButton(form);
|
||||
}
|
||||
|
||||
function enableAndShowExtraField(valEle, index) {
|
||||
|
@ -222,7 +223,6 @@ function staticCallback(data) {
|
|||
});
|
||||
} else {
|
||||
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