Closed KatrinaHoffert closed 9 years ago
Should display an on-page error if that occurs.
Existing check for this exists, but is broken. See the line of code with
obj == null && $.inArray(municipalityFieldValue, cities) !== -1
That is checking that the city is not in the array, but it should be the other way around. Needs refactoring because the $.inArray stuff is terribly unreadable. WTF jQuery?
$.inArray
I fixed this a few days ago.
Should display an on-page error if that occurs.
Existing check for this exists, but is broken. See the line of code with
That is checking that the city is not in the array, but it should be the other way around. Needs refactoring because the
$.inArray
stuff is terribly unreadable. WTF jQuery?