tells you what shows overlap on add, re adds datepickers to newly displayed form.
This commit is contained in:
parent
cc1715426f
commit
52c8bc3a01
4 changed files with 67 additions and 23 deletions
|
@ -99,14 +99,12 @@ class Application_Form_AddShow extends Zend_Form
|
|||
$options[$host['id']] = $host['login'];
|
||||
}
|
||||
|
||||
$this->addElement(
|
||||
'multiselect',
|
||||
'hosts',
|
||||
array(
|
||||
'label' => 'Hosts:',
|
||||
'required' => true,
|
||||
'multiOptions' => $options
|
||||
));
|
||||
$hosts = new Zend_Form_Element_Multiselect('hosts');
|
||||
$hosts->setLabel('Hosts:')
|
||||
->setMultiOptions($options)
|
||||
->setRequired(true);
|
||||
|
||||
$this->addElement($hosts);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue