Error message fixed
This commit is contained in:
parent
57175e9e98
commit
52b57af962
2 changed files with 2 additions and 2 deletions
|
@ -453,7 +453,7 @@ return null;
|
|||
}
|
||||
if (tcdata[0].ch1 > 0 || tcdata[0].ch2 > 0 || tcdata[0].ch3 > 0 || tcdata[0].ch4 > 0 ||
|
||||
tcdata[9].ch1 > 0 || tcdata[9].ch2 > 0 || tcdata[9].ch3 > 0 || tcdata[9].ch4 > 0) {
|
||||
showToast('Error: Values for ch1 to ch4 must be 0 for i=0 and i=9.', 'error');
|
||||
showToast('Error: Values for ch1 to ch4 must be 0 for the first and last entry.', 'error');
|
||||
return null;
|
||||
}
|
||||
var currentTime = {hour: new Date().getHours(), min: new Date().getMinutes()};
|
||||
|
|
|
@ -563,7 +563,7 @@ function createJsonFromTable() {
|
|||
// Überprüft die Werte für ch1 bis ch4 bei i=0 und i=9
|
||||
if (tcdata[0].ch1 > 0 || tcdata[0].ch2 > 0 || tcdata[0].ch3 > 0 || tcdata[0].ch4 > 0 ||
|
||||
tcdata[9].ch1 > 0 || tcdata[9].ch2 > 0 || tcdata[9].ch3 > 0 || tcdata[9].ch4 > 0) {
|
||||
showToast('Error: Values for ch1 to ch4 must be 0 for i=0 and i=9.', 'error');
|
||||
showToast('Error: Values for ch1 to ch4 must be 0 for the first and last entry.', 'error');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue