CC-3174 : showbuilder

mostly done with new context menu, need to finish
add/delete button actions on lib table for both screens.
This commit is contained in:
Naomi Aro 2012-02-05 18:19:22 +01:00
parent da5e1ac302
commit 6c2475bf1f
9 changed files with 305 additions and 424 deletions

View file

@ -103,17 +103,18 @@ class PlaylistController extends Zend_Controller_Action
public function editAction()
{
$pl_id = $this->_getParam('id', null);
$id = $this->_getParam('id', null);
Logging::log("editing playlist {$id}");
if (!is_null($pl_id)) {
$this->changePlaylist($pl_id);
if (!is_null($id)) {
$this->changePlaylist($id);
}
try {
$pl = $this->getPlaylist();
}
catch (PlaylistNotFoundException $e) {
Logging::log("Playlist {$pl_id} not found");
Logging::log("Playlist {$id} not found");
$this->changePlaylist(null);
}
catch (Exception $e) {