CC-3444: Ability to edit currently playing show (end time and permissions)
- done
This commit is contained in:
parent
5242ac45a9
commit
286c240012
10 changed files with 140 additions and 26 deletions
|
@ -34,6 +34,17 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm
|
|||
))));
|
||||
}
|
||||
|
||||
public function disable(){
|
||||
$elements = $this->getElements();
|
||||
foreach ($elements as $element)
|
||||
{
|
||||
if ($element->getType() != 'Zend_Form_Element_Hidden')
|
||||
{
|
||||
$element->setAttrib('readonly',true);
|
||||
$element->setAttribs(array('style' => 'color: #B1B1B1; '));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue