summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorBjörn Geiger2011-09-28 17:46:27 +0200
committerBjörn Geiger2011-09-28 17:46:27 +0200
commite4bfe9c7230ae5fcf78095dab008389ef4b6b1f6 (patch)
tree447698c582c8d62bacfdf87743f50213cc5abbd2 /public
parentRepeat Events getestet und korrigiert (diff)
downloadpoolctrl-e4bfe9c7230ae5fcf78095dab008389ef4b6b1f6.tar.gz
poolctrl-e4bfe9c7230ae5fcf78095dab008389ef4b6b1f6.tar.xz
poolctrl-e4bfe9c7230ae5fcf78095dab008389ef4b6b1f6.zip
verschiedene Korrekturen
Diffstat (limited to 'public')
-rwxr-xr-xpublic/media/js/script.js19
1 files changed, 17 insertions, 2 deletions
diff --git a/public/media/js/script.js b/public/media/js/script.js
index 0e299bc..94d8134 100755
--- a/public/media/js/script.js
+++ b/public/media/js/script.js
@@ -105,10 +105,10 @@ function repeatChanged(name) {
} else {
setElementInvisible("repeatdate-label");
setElementInvisible("repeatdate-element");
- disableElement('repeatEnd');
+ disableElement('repeatdate');
setElementInvisible("repeattype-label");
setElementInvisible("repeattype-element");
- disableElement('repeatType');
+ disableElement('repeattype');
setElementInvisible("repeatend-label");
setElementInvisible("repeatend-element");
disableElement('repeatend');
@@ -248,4 +248,19 @@ function repeatendChanged(name) {
setElementInvisible("repeatings-element");
disableElement('repeatings');
}
+}
+
+function bootosfieldChanged(name, bootosCount) {
+ value = getElementValue(name);
+ for (i = 1; i <= bootosCount; i++) {
+ if (value == i) {
+ setElementVisible("pbs_configID_" + i + "-label");
+ setElementVisible("pbs_configID_" + i + "-element");
+ enableElement("pbs_configID_" + i);
+ } else {
+ setElementInvisible("pbs_configID_" + i + "-label");
+ setElementInvisible("pbs_configID_" + i + "-element");
+ disableElement("pbs_configID_" + i);
+ }
+ }
} \ No newline at end of file