SAAS-991 - initial playlist editor redesign

This commit is contained in:
Duncan Sommerville 2015-08-06 19:16:04 -04:00
parent cc36fcd37b
commit 02d96d7bd0
10 changed files with 190 additions and 145 deletions

View file

@ -459,7 +459,9 @@ class LibraryController extends Zend_Controller_Action
}
$this->view->form = $form;
$this->view->dialog = $this->view->render('library/edit-file-md.phtml');
$this->view->id = $file_id;
$this->view->type = "md";
$this->view->html = $this->view->render('library/edit-file-md.phtml');
}
public function getFileMetadataAction()

View file

@ -90,6 +90,7 @@ class NewPlaylistController extends Zend_Controller_Action
$this->view->form = $form;
$this->view->obj = $obj;
$this->view->type = "sb";
$this->view->id = $obj->getId();
if ($isJson) {
@ -99,6 +100,7 @@ class NewPlaylistController extends Zend_Controller_Action
}
} else {
$this->view->obj = $obj;
$this->view->type = "pl";
$this->view->id = $obj->getId();
if ($isJson) {
return $this->view->html = $this->view->render($viewPath);