CC-3444: Ability to edit currently playing show (end time and permissions

- fixed
This commit is contained in:
James 2012-04-16 16:48:04 -04:00
parent d219c78744
commit d11fca8ac8
2 changed files with 23 additions and 6 deletions

View file

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