Test for existence of AutoEmail and AutoMessage. Fixes #3369 issue 2.

This commit is contained in:
Isaac Connor 2021-10-13 11:57:49 -04:00
parent de5ad5fc61
commit ca1b7ebdc7
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ function validateForm(form) {
form.elements['filter[AutoUnarchive]'].checked || form.elements['filter[AutoUnarchive]'].checked ||
form.elements['filter[UpdateDiskSpace]'].checked || form.elements['filter[UpdateDiskSpace]'].checked ||
form.elements['filter[AutoVideo]'].checked || form.elements['filter[AutoVideo]'].checked ||
form.elements['filter[AutoEmail]'].checked || (form.elements['filter[AutoEmail]'].checked && form.elements['filter[AutoEmail]'].checked) ||
form.elements['filter[AutoMessage]'].checked || (form.elements['filter[AutoMessage]'] && form.elements['filter[AutoMessage]'].checked) ||
form.elements['filter[AutoExecute]'].checked || form.elements['filter[AutoExecute]'].checked ||
form.elements['filter[AutoDelete]'].checked || form.elements['filter[AutoDelete]'].checked ||
form.elements['filter[AutoCopy]'].checked || form.elements['filter[AutoCopy]'].checked ||