summaryrefslogtreecommitdiff
path: root/template/Deutsch/timer_new.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/Deutsch/timer_new.html')
-rw-r--r--template/Deutsch/timer_new.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/template/Deutsch/timer_new.html b/template/Deutsch/timer_new.html
index 0651a0d..a6a2615 100644
--- a/template/Deutsch/timer_new.html
+++ b/template/Deutsch/timer_new.html
@@ -8,6 +8,9 @@
<!--
function cTimer(idx) {
var Timer = "";
+ var dor = document.form.dor.value;
+ var StartDay = dor.indexOf('@') > 0 ? dor.substring(dor.indexOf('@')) : "";
+ alert(StartDay + " " + document.form.dor);
Days = new Array("M", "D", "M", "D", "F", "S", "S");
for(var i = 0; i <= 6; i++) {
Status = eval("document.form.D" + i + ".checked");
@@ -16,12 +19,12 @@
} else {
Timer = Timer + "-";
}
- document.form.dor.value = Timer;
+ document.form.dor.value = Timer + StartDay;
}
}
function eCheckbox(complTimer) {
- if(complTimer.length == 7) {
+ if(complTimer.length == 7 || complTimer.length == 18) {
for(var i = 0; i <= 6; i++) {
if(complTimer.substring(i, i + 1) != "-") {
eval("document.form.D" + i + ".click();");