This commit is contained in:
Naomi 2013-08-23 15:53:18 -04:00
parent dbe160c5d9
commit c2b9bb01ac

View file

@ -164,11 +164,11 @@ class PlayouthistoryController extends Zend_Controller_Action
$historyService = new Application_Service_HistoryService(); $historyService = new Application_Service_HistoryService();
$json = $historyService->createPlayedItem($params); $json = $historyService->createPlayedItem($params);
if (isset($json["form"])) { if (isset($json["form"])) {
$this->view->form = $json["form"]; $this->view->form = $json["form"];
$json["form"] = $this->view->render('playouthistory/dialog.phtml'); $json["form"] = $this->view->render('playouthistory/dialog.phtml');
unset($this->view->form); unset($this->view->form);
} }
$this->_helper->json->sendJson($json); $this->_helper->json->sendJson($json);
@ -222,9 +222,9 @@ class PlayouthistoryController extends Zend_Controller_Action
$json = $historyService->editPlayedItem($params); $json = $historyService->editPlayedItem($params);
if (isset($json["form"])) { if (isset($json["form"])) {
$this->view->form = $json["form"]; $this->view->form = $json["form"];
$json["form"] = $this->view->render('playouthistory/dialog.phtml'); $json["form"] = $this->view->render('playouthistory/dialog.phtml');
unset($this->view->form); unset($this->view->form);
} }