CC-1665: Scheduled stream rebroadcasting and recording
-don't show delete button until a stream has been saved
This commit is contained in:
parent
b3ef67e617
commit
398fbb04db
3 changed files with 6 additions and 2 deletions
|
@ -27,6 +27,7 @@ class WebstreamController extends Zend_Controller_Action
|
|||
$webstream->setDbName("Untitled Webstream");
|
||||
|
||||
$this->view->ws = new Application_Model_Webstream($webstream);
|
||||
$this->view->action = "new";
|
||||
$this->view->html = $this->view->render('webstream/webstream.phtml');
|
||||
}
|
||||
|
||||
|
@ -41,6 +42,7 @@ class WebstreamController extends Zend_Controller_Action
|
|||
|
||||
$webstream = CcWebstreamQuery::create()->findPK($id);
|
||||
$this->view->ws = new Application_Model_Webstream($webstream);
|
||||
$this->view->action = "edit";
|
||||
$this->view->html = $this->view->render('webstream/webstream.phtml');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue