CC-6129: Static smart block errors don't appear
This commit is contained in:
parent
a17001a90a
commit
6046f8843b
|
@ -595,10 +595,7 @@ class PlaylistController extends Zend_Controller_Action
|
||||||
$this->view->obj = $bl;
|
$this->view->obj = $bl;
|
||||||
$this->view->id = $bl->getId();
|
$this->view->id = $bl->getId();
|
||||||
$this->view->form = $form;
|
$this->view->form = $form;
|
||||||
$viewPath = 'playlist/smart-block.phtml';
|
$this->createFullResponse($bl, false, true);
|
||||||
$result['html'] = $this->view->render($viewPath);
|
|
||||||
$result['result'] = 1;
|
|
||||||
$this->_helper->json->sendJson($result);
|
|
||||||
}
|
}
|
||||||
} catch (BlockNotFoundException $e) {
|
} catch (BlockNotFoundException $e) {
|
||||||
$this->playlistNotFound('block', true);
|
$this->playlistNotFound('block', true);
|
||||||
|
|
|
@ -1001,7 +1001,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$pl.on("click", "#save_button", function(event) {
|
$pl.unbind().on("click", "#save_button", function(event) {
|
||||||
/* Smart blocks: get name, description, and criteria
|
/* Smart blocks: get name, description, and criteria
|
||||||
* Playlists: get name, description
|
* Playlists: get name, description
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue