Skip to content

Commit

Permalink
close #1320, addes check for catnum
Browse files Browse the repository at this point in the history
  • Loading branch information
MuchQuak committed May 17, 2024
1 parent 55c81c6 commit afe0d5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/symb/collections.map.index.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ function verifyCollForm(f) {
break;
}
}

if (!formVerified) {
alert("Please choose at least one collection!");
return false;
Expand Down Expand Up @@ -246,7 +247,8 @@ function verifyCollForm(f) {
f.polycoords.value == "" &&
f.collector.value == "" &&
f.collnum.value == "" &&
f.eventdate1.value == ""
f.eventdate1.value == "" &&
f.catnum.value == ""
) {
alert("Please fill in at least one search parameter!");
return false;
Expand Down

0 comments on commit afe0d5f

Please sign in to comment.