summaryrefslogtreecommitdiffstats
path: root/application/forms/EventEdit.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/forms/EventEdit.php')
-rw-r--r--application/forms/EventEdit.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/application/forms/EventEdit.php b/application/forms/EventEdit.php
index 826bcfd..6b9f29b 100644
--- a/application/forms/EventEdit.php
+++ b/application/forms/EventEdit.php
@@ -71,7 +71,7 @@ class Application_Form_EventEdit extends Zend_Form
$eventcategoryfield->setRegisterInArrayValidator(false);
$eventcategoryfield->setValue($this->params['category']);
- $eventcategoryfield->setAttrib('onchange', "eventcategoryfieldChanged('category');");
+ $eventcategoryfield->setAttrib('onchange', "editeventcategoryfieldChanged('category');");
$this->addElement($eventcategoryfield);
$this->addElement('text', 'title', array(
@@ -183,7 +183,7 @@ class Application_Form_EventEdit extends Zend_Form
array('StringLength', false, array(0, 4)),
),
'required' => false,
- 'label' => 'Participants:',
+ 'label' => 'ParticipantsrepeatChanged("repeat");:',
'value' => $this->params['participants'],
));
@@ -197,7 +197,7 @@ class Application_Form_EventEdit extends Zend_Form
}
$eventcategoryfield->setRegisterInArrayValidator(false);
- $eventcategoryfield->setValue( $this->params['category']);
+ $eventcategoryfield->setValue( $this->paramFs['category']);
$this->addElement($eventcategoryfield);
$this->addElement('text', 'note', array(
@@ -250,8 +250,7 @@ class Application_Form_EventEdit extends Zend_Form
));
echo '<script type="text/javascript">
- repeatChanged("repeat");
- eventcategoryfieldChanged("category");
+ editeventcategoryfieldChanged("category");
$(function() {
$("#start").datetimepicker();
$("#end").datetimepicker();