From 5fee16035fe8ab82d828fbb16a3fda335c262245 Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Mon, 25 Nov 2024 21:00:25 +0100 Subject: [PATCH] Distinguish between addon product address forms --- src/pretix/static/pretixbase/js/addressform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/static/pretixbase/js/addressform.js b/src/pretix/static/pretixbase/js/addressform.js index 0a5c4652af..3280527728 100644 --- a/src/pretix/static/pretixbase/js/addressform.js +++ b/src/pretix/static/pretixbase/js/addressform.js @@ -5,7 +5,7 @@ $(function () { let counter = 0; const dependency = $(this), url = this.getAttribute('data-country-information-url'), - form = $(this).closest(".panel-body, form"), + form = $(this).closest(".panel-body, form, .profile-scope"), isRequired = dependency.closest(".form-group").is(".required"), dependents = { 'city': form.find("input[name$=city]"),