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 6fd33b4627
commit f60282eaf5
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[UpdateDiskSpace]'].checked ||
form.elements['filter[AutoVideo]'].checked ||
form.elements['filter[AutoEmail]'].checked ||
form.elements['filter[AutoMessage]'].checked ||
(form.elements['filter[AutoEmail]'].checked && form.elements['filter[AutoEmail]'].checked) ||
(form.elements['filter[AutoMessage]'] && form.elements['filter[AutoMessage]'].checked) ||
form.elements['filter[AutoExecute]'].checked ||
form.elements['filter[AutoDelete]'].checked ||
form.elements['filter[AutoCopy]'].checked ||