CC-84: Smart Playlists

- added remove button to all rows unless only one row is enabled
- disabled playlist contents if type switches from static to dynamic
  and vice versa
This commit is contained in:
denise 2012-07-17 14:40:52 -04:00
parent 7c07bf146c
commit a8ca9accdb
3 changed files with 64 additions and 37 deletions

View file

@ -320,8 +320,12 @@ var AIRTIME = (function(AIRTIME){
.append(json.html);
setUpPlaylist();
var form = $('#smart-playlist-form');
appendAddButton(form);
// functions in smart_playlistbuilder.js
setupUI();
appendAddButton();
removeButtonCheck();
}
//sets events dynamically for playlist entries (each row in the playlist)