CC-84: Smart Playlists

- subforms now open and close on the click event
- fixed add and remove criteria to work with new subforms
This commit is contained in:
denise 2012-07-23 12:42:00 -04:00
parent 952a584f10
commit 64185dac95
7 changed files with 73 additions and 37 deletions

View file

@ -79,9 +79,9 @@ class PlaylistController extends Zend_Controller_Action
$form = new Application_Form_SmartPlaylist();
$form->removeDecorator('DtDdWrapper');
$form->startForm($pl->getId());
$subform = new Application_Form_SmartPlaylistCriteriaSubForm();
/*$subform = new Application_Form_SmartPlaylistCriteriaSubForm();
$form->removeDecorator('DtDdWrapper');
$form->addSubForm($subform, 'sp_set_1');
$form->addSubForm($subform, 'sp_set_1');*/
$this->view->form = $form;