CC-3453 : Playlist

reworking inital playlist events to all use the new "on" delegation in jQuery.
fixing some out of date errors.
This commit is contained in:
Naomi Aro 2012-03-19 14:09:05 +01:00
parent b5f92dfa93
commit 9509c70595
4 changed files with 113 additions and 106 deletions

View file

@ -348,7 +348,7 @@ class PlaylistController extends Zend_Controller_Action
/**
* The playlist fades are stored in the elements themselves.
* The fade in is set to the first elements fade in and
* the fade out is set to the last elments fade out.
* the fade out is set to the last elements fade out.
**/
public function setPlaylistFadesAction()
{
@ -358,6 +358,7 @@ class PlaylistController extends Zend_Controller_Action
try {
$pl = $this->getPlaylist();
$pl->setPlaylistfades($fadeIn, $fadeOut);
$this->view->modified = $pl->getLastModified("U");
}
catch (PlaylistOutDatedException $e) {
$this->playlistOutdated($pl, $e);