Commit 2206b9e8 authored by roman.koehler's avatar roman.koehler
Browse files

Merge branch 'master' into testing

parents 9c74326e 92b4fd43
master R1805 R1902 R1904 R1906 R1908 R1911 R2002 R2004 R2006 R2008 R2011 R2102 R2106 R2111 R2204 R2207 R2210 R2303 R2309 R2311 R2411 testing 1.19.11 1.19.11-beta01 1.19.10.1 1.19.10.1-beta01 1.19.10 1.19.9 1.19.9-beta03 1.19.9-beta02 1.19.9-beta01 1.19.8.1 1.19.8 1.19.8-beta03 1.19.8-beta02 1.19.8-beta01 1.19.7.1 1.19.7 1.19.7-beta07 1.19.7-beta06 1.19.7-beta05 1.19.7-beta04 1.19.7-beta03 1.19.7-beta02 1.19.7-beta01 1.19.6.3 1.19.6.2 1.19.6.1 1.19.6.1-beta01 1.19.6 1.19.6-beta03 1.19.6-beta02 1.19.6-beta01 1.19.5.1 1.19.5.1-beta02 1.19.5.1-beta01 1.19.5 1.19.5-beta03 1.19.5-beta02 1.19.5-beta01 1.19.4 1.19.4-beta04 1.19.4-beta03 1.19.4-beta02 1.19.4-beta01 1.19.3.1 1.19.3.1-beta01 1.19.3 1.19.3-beta06 1.19.3-beta05 1.19.3-beta04 1.19.3-beta03 1.19.3-beta02 1.19.3-beta01 1.19.2.1 1.19.2 1.19.2-beta02 1.19.2-beta01 1.19.1 1.19.1-beta02 1.19.1-beta01 1.19.0 1.19.0-beta03 1.19.0-beta02 1.19.0-beta01 1.18.0 1.18.0-beta04 1.18.0-beta03 1.18.0-beta02 1.18.0-beta01 1.17.0 1.17.0-beta05 1.17.0-beta04 1.17.0-beta03 1.17.0-beta02 1.17.0-beta01 1.16.7 1.16.7-beta04 1.16.7-beta03 1.16.7-beta02 1.16.7-beta01 1.16.6.1 1.16.6.1-beta01 1.16.6 1.16.6-beta04 1.16.6-beta03 1.16.6-beta02 1.16.6-beta01 1.16.5 1.16.5-beta07 1.16.5-beta06 1.16.5-beta05 1.16.5-beta04 1.16.5-beta03 1.16.5-beta02 1.16.5-beta01 1.16.4 1.16.4-beta06 1.16.4-beta05 1.16.4-beta04 1.16.4-beta03 1.16.4-beta02 1.16.4-beta01 1.16.3 1.16.3-beta08 1.16.3-beta07 1.16.3-beta06 1.16.3-beta05 1.16.3-beta04 1.16.3-beta03 1.16.3-beta02 1.16.3-beta01 1.16.2.1 1.16.2.1-beta01 1.16.2 1.16.2-beta07 1.16.2-beta06 1.16.2-beta05 1.16.2-beta04 1.16.2-beta03 1.16.2-beta02 1.16.2-beta01 1.16.1.1 1.16.1 1.16.1-beta05 1.16.1-beta04 1.16.1-beta03 1.16.1-beta02 1.16.1-beta01 1.6.1 1.6.0 1.5.1 1.4.12 1.4.11 1.4.10 1.4.9 v1.6.6 v1.6.5 v1.6.4 v1.6.3 v1.6.2
No related merge requests found
Showing with 16 additions and 16 deletions
+16 -16
......@@ -194,11 +194,23 @@ function setOneEvent(oEvent)
}
}
lInfo.logln('queueTimedEvents - recurrence rule is ' + sRRule);
resetOneEvent('dynamic/countdownTimer/' + oEvent.getChild('id').getValue());
resetOneEvent('dynamic/scheduledFixedEvents/' + oEvent.getChild('id').getValue());
resetOneEvent('dynamic/scheduledDynamicEvents/' + oEvent.getChild('id').getValue());
if (Property.getNode('dynamic/scheduledMultipleEvents/' + oEvent.getChild('id'))!=null {
var oMultipleNode=Property.getNode('dynamic/scheduledMultipleEvents/' + oEvent.getChild('id').getValue());
if (oMultipleNode!=null) {
var subNodes=oMultipleNode.getChildren();
if (subNodes!=null)
for (var jIndex=0;jIndex<subNodes.length;jIndex++)
resetOneEvent('dynamic/scheduledMultipleEvents/' + oEvent.getChild('id').getValue() + '/' + subNodes[jIndex].name);
}
}
if (oEvent.getChild('time/timeBase').getValue() == 'daily') // nur statische Events hier
{
resetOneEvent('dynamic/countdownTimer/' + oEvent.getChild('id').getValue());
resetOneEvent('dynamic/scheduledFixedEvents/' + oEvent.getChild('id').getValue());
lInfo.logln('queueTimedEvents - it has a fixed time');
var timeValue = Math.abs(oEvent.getChild('time/offset').getValue());
......@@ -248,18 +260,6 @@ function setOneEvent(oEvent)
queueDeleteCounter(oEvent,iTempStartTime,sRRule);
} else {
resetOneEvent('dynamic/countdownTimer/' + oEvent.getChild('id').getValue());
if (fMultiple) {
var oMultipleNode=Property.getNode('dynamic/scheduledMultipleEvents/' + oEvent.getChild('id').getValue());
if (oMultipleNode!=null) {
var subNodes=oMultipleNode.getChildren();
if (subNodes!=null)
for (var jIndex=0;jIndex<subNodes.length;jIndex++)
resetOneEvent('dynamic/scheduledMultipleEvents/' + oEvent.getChild('id').getValue() + '/' + subNodes[jIndex].name);
}
}
else
resetOneEvent('dynamic/scheduledDynamicEvents/' + oEvent.getChild('id').getValue());
lInfo.logln('queueTimedEvents - it has a '+oEvent.getChild('time/timeBase').getValue()+' time');
var timeValue = oEvent.getChild('time/offset').getValue();
......@@ -368,7 +368,7 @@ function setOneEvent(oEvent)
}
catch (e) {
lWarn.logln("FEHLER beim setzen des Timers fr " + oEvent.name + " : " + e);
lWarn.logln("FEHLER beim setzen des Timers fr " + oEvent.name + " : " + e);
}
}
......@@ -413,7 +413,7 @@ function queueAllTimedEvents() {
setOneEvent(oEvent);
}
catch (e) {
lWarn.logln("FEHLER beim setzen des Timers fr " + oEvent.iIndex + " : " + e);
lWarn.logln("FEHLER beim setzen des Timers fr " + oEvent.iIndex + " : " + e);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment