mirror of
https://github.com/pretix/pretix.git
synced 2026-08-05 09:57:49 +00:00
Distinguish between addon product address forms
This commit is contained in:
@@ -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]"),
|
||||
|
||||
Reference in New Issue
Block a user