CC-84: Smart Playlists

- added shuffle button
- moved all callbacks into one function
This commit is contained in:
denise 2012-07-17 15:32:26 -04:00
parent a8ca9accdb
commit 0aae7c75ae
3 changed files with 71 additions and 10 deletions

View file

@ -226,6 +226,13 @@ class Application_Form_SmartPlaylistCriteria extends Zend_Form_SubForm
$generate->setLabel('Generate');
$generate->setDecorators(array('viewHelper'));
$this->addElement($generate);
$shuffle = new Zend_Form_Element_Button('shuffle_button');
$shuffle->setAttrib('class', 'ui-button ui-state-default right-floated');
$shuffle->setIgnore(true);
$shuffle->setLabel('Shuffle');
$shuffle->setDecorators(array('viewHelper'));
$this->addElement($shuffle);
}