diff --git a/frontend/src/common/js/cron.js b/frontend/src/common/js/cron.js index 0c8f6184b0..fb1960d093 100644 --- a/frontend/src/common/js/cron.js +++ b/frontend/src/common/js/cron.js @@ -312,26 +312,12 @@ function checkListField(value, minimal, maximal ) { values[j] = st[j]; } - var previousValue = -1; - for (var i= 0; i < values.length; i++) { var currentValue = values[i]; if (!checkIntValue(currentValue, minimal, maximal, true)) { return false; } - - try { - var val = parseInt(currentValue, 10); - - if (val <= previousValue) { - return false; - } else { - previousValue = val; - } - } catch (e) { - // we have always an int - } } return true;