summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorSebastian Wagner2011-09-07 13:10:46 +0200
committerSebastian Wagner2011-09-07 13:10:46 +0200
commit2ba9ce4f9880b5598e60565cab89e3636831816f (patch)
tree85269f022b06d460b1bae171034b777713864661 /application
parentsome bugfixes (diff)
parentkleine korrektur (diff)
downloadpoolctrl-2ba9ce4f9880b5598e60565cab89e3636831816f.tar.gz
poolctrl-2ba9ce4f9880b5598e60565cab89e3636831816f.tar.xz
poolctrl-2ba9ce4f9880b5598e60565cab89e3636831816f.zip
Merge branch 'master' of git.openslx.org:lsfks/projekte/poolctrl
Diffstat (limited to 'application')
-rw-r--r--application/forms/EventAdd.php1
-rw-r--r--application/forms/EventEdit.php7
2 files changed, 5 insertions, 3 deletions
diff --git a/application/forms/EventAdd.php b/application/forms/EventAdd.php
index d225a41..ccc1d87 100644
--- a/application/forms/EventAdd.php
+++ b/application/forms/EventAdd.php
@@ -83,6 +83,7 @@ class Application_Form_EventAdd extends Zend_Form
));
$this->addElement('checkbox', 'repeat', array(
+ 'onchange' => 'changeRepeatEnd("repeat")',
'required' => false,
'label' => 'Repeat:',
'value'=>array(0,1),
diff --git a/application/forms/EventEdit.php b/application/forms/EventEdit.php
index 658e3fa..2a93a31 100644
--- a/application/forms/EventEdit.php
+++ b/application/forms/EventEdit.php
@@ -114,9 +114,10 @@ class Application_Form_EventEdit extends Zend_Form
));
} else {
$this->addElement('checkbox', 'repeat', array(
- 'required' => false,
- 'label' => 'Repeat:',
- 'value'=>array(0,1),
+ 'onchange' => 'changeRepeatEnd("repeat")',
+ 'required' => false,
+ 'label' => 'Repeat:',
+ 'value'=>array(0,1),
));
}