From e27f21a78bbf17d9c3291ad413bb2537c9e0dbfd Mon Sep 17 00:00:00 2001 From: Daniel Grams Date: Sat, 10 Feb 2024 16:31:41 +0100 Subject: [PATCH] Bugfix for place selection when creating an event #567 --- project/templates/_macros.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/templates/_macros.html b/project/templates/_macros.html index af2d139..3253c88 100644 --- a/project/templates/_macros.html +++ b/project/templates/_macros.html @@ -820,9 +820,9 @@ $(this).val(null).trigger('change'); var location_only = $(this).attr("data-location-only"); if (location_only) { - reset_location_form(); + reset_location_form("{{ target_prefix }}"); } else { - reset_place_form(); + reset_place_form("{{ target_prefix }}"); $('#place-name').val(data.main_text); if ($('#place-name').length > 0 && $.isFunction($('#place-name').valid)) { $('#place-name').valid();