CC-6129: Static smart block errors don't appear

This commit is contained in:
Albert Santoni 2015-09-02 15:07:17 -04:00
parent a17001a90a
commit 6046f8843b
2 changed files with 2 additions and 5 deletions

View file

@ -595,10 +595,7 @@ class PlaylistController extends Zend_Controller_Action
$this->view->obj = $bl;
$this->view->id = $bl->getId();
$this->view->form = $form;
$viewPath = 'playlist/smart-block.phtml';
$result['html'] = $this->view->render($viewPath);
$result['result'] = 1;
$this->_helper->json->sendJson($result);
$this->createFullResponse($bl, false, true);
}
} catch (BlockNotFoundException $e) {
$this->playlistNotFound('block', true);