CC-3603: Calendar->Once you update the rebroadcasted show it disappears

- temp commit
This commit is contained in:
James 2012-04-09 10:37:44 -04:00
parent 332c1d91b5
commit 064490a2fd
1 changed files with 14 additions and 0 deletions

View File

@ -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();