CC-3603: Calendar->Once you update the rebroadcasted show it disappears
- temp commit
This commit is contained in:
parent
332c1d91b5
commit
064490a2fd
|
@ -30,6 +30,7 @@ class ScheduleController extends Zend_Controller_Action
|
|||
->addActionContext('set-time-interval', 'json')
|
||||
->addActionContext('edit-show-instance', 'json')
|
||||
->addActionContext('dj-edit-show', 'json')
|
||||
->addActionContext('edit-show-rebroadcast', 'json')
|
||||
->initContext();
|
||||
|
||||
$this->sched_sess = new Zend_Session_Namespace("schedule");
|
||||
|
@ -448,6 +449,8 @@ class ScheduleController extends Zend_Controller_Action
|
|||
|
||||
if ($type == "instance"){
|
||||
$this->view->action = "edit-show-instance";
|
||||
}else if($type == "rebroadcast"){
|
||||
$this->view->action = "edit-show-rebroadcast";
|
||||
}
|
||||
|
||||
try{
|
||||
|
@ -630,6 +633,17 @@ class ScheduleController extends Zend_Controller_Action
|
|||
|
||||
}
|
||||
|
||||
public function editShowRebroadcastAction(){
|
||||
$js = $this->_getParam('data');
|
||||
$data = array();
|
||||
|
||||
//need to convert from serialized jQuery array.
|
||||
foreach($js as $j){
|
||||
$data[$j["name"]] = $j["value"];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function djEditShowAction(){
|
||||
$js = $this->_getParam('data');
|
||||
$data = array();
|
||||
|
|
Loading…
Reference in New Issue