From c1b8fd25d861d4a5d9d5c7799de74c64ca59f623 Mon Sep 17 00:00:00 2001 From: Daniel Grams Date: Wed, 30 Aug 2023 20:42:03 +0200 Subject: [PATCH] Existing place and organizer hint #538 --- project/templates/_macros.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project/templates/_macros.html b/project/templates/_macros.html index 5457357..311ee0d 100644 --- a/project/templates/_macros.html +++ b/project/templates/_macros.html @@ -1631,6 +1631,7 @@ $('#allday').on('change', function() { remote: { url: "{{ url_for('js_check_event_place_name') }}", type: "post", + async: false, data: { admin_unit_id: function() { return "{{ admin_unit.id }}"; @@ -1662,6 +1663,7 @@ $('#allday').on('change', function() { remote: { url: "{{ url_for('js_check_organizer_name') }}", type: "post", + async: false, data: { admin_unit_id: function() { return "{{ admin_unit.id }}";