Skip to content

Commit

Permalink
Fix: #5063 - Bug: Census Place disappears temporarily when choosing C…
Browse files Browse the repository at this point in the history
…ensus Date from the Census dropdown
  • Loading branch information
fisharebest committed Nov 28, 2024
1 parent 7b3654b commit 1a10d3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use Fisharebest\Webtrees\I18N;
const form = select.closest('form');

form.querySelector('[id$=CENS-DATE]').value = option.dataset.wtDate;
form.querySelector('[id$=CENS-PLAC]').value = option.dataset.wtPlace;
$(form.querySelector('[id$=CENS-PLAC]')).typeahead('val', option.dataset.wtPlace);
});
});
</script>

0 comments on commit 1a10d3f

Please sign in to comment.