CC-1665: Scheduled stream rebroadcasting and recording

-don't show delete button until a stream has been saved
This commit is contained in:
Martin Konecny 2012-08-17 17:29:17 -04:00
parent b3ef67e617
commit 398fbb04db
3 changed files with 6 additions and 2 deletions

View file

@ -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');
}