Skip to content

Commit

Permalink
Annexation lookup: changed form field name
Browse files Browse the repository at this point in the history
The new search form adopted the same ID name that the annexation form was already using.
I've given preference to the new search form and renamed the Annexation lookup form's field name.

Updates #230
  • Loading branch information
inghamn committed Dec 17, 2021
1 parent 4f858bb commit 60070cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/annex.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
jQuery(document).ready(function ($) {
var ANNEX = {
select: document.getElementById('fieldname'),
query: document.getElementById('query'),
query: document.getElementById('annexation_query'),
form: document.getElementById('annexationSearchForm'),
table: document.getElementById('annexationResults'),
resource_url: 'https://bloomington.data.socrata.com/resource/x8s7-g7v5.json',
Expand Down
2 changes: 1 addition & 1 deletion templates/nodes/node--809--full.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
</select>
</label>
</div>
<div><input name="query" id="query" /></div>
<div><input name="query" id="annexation_query" /></div>
<button type="submit">Search</button>
</div>
</form>
Expand Down

0 comments on commit 60070cc

Please sign in to comment.