Removed the dynamic regular chore period type (since it's the same as daily)

This commit is contained in:
Bernd Bestel
2022-02-09 20:25:16 +01:00
parent 10d7d44825
commit 7d4c9fefa9
9 changed files with 12 additions and 21 deletions

View File

@@ -152,13 +152,6 @@ $('.input-group-chore-period-type').on('change keyup', function(e)
{
$('#chore-schedule-info').text(__t('This means the next execution of this chore is not scheduled'));
}
else if (periodType === 'dynamic-regular')
{
$("label[for='period_days']").text(__t("Period days"));
$("#period_days").attr("min", "0");
$("#period_days").removeAttr("max");
$('#chore-schedule-info').text(__n(periodDays, "This means the next execution of this chore is scheduled %s day after the last execution", "This means the next execution of this chore is scheduled %s days after the last execution"));
}
else if (periodType === 'hourly')
{
$('#chore-schedule-info').text(__n(periodInterval, "This means the next execution of this chore is scheduled %s hour after the last execution", "This means the next execution of this chore is scheduled %s hours after the last execution"));