CC-3444: Ability to edit currently playing show (end time and permissions
- fixed
This commit is contained in:
parent
d219c78744
commit
d11fca8ac8
2 changed files with 23 additions and 6 deletions
|
@ -131,5 +131,16 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
|
|||
$element->setAttrib('disabled','disabled');
|
||||
}
|
||||
}
|
||||
|
||||
public function disableStartDateAndTime(){
|
||||
$elements = array($this->getElement('add_show_start_date'), $this->getElement('add_show_start_time'));
|
||||
foreach ($elements as $element)
|
||||
{
|
||||
if ($element->getType() != 'Zend_Form_Element_Hidden')
|
||||
{
|
||||
$element->setAttrib('disabled','disabled');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue