Compare commits

..
3 changed files with 22 additions and 2 deletions

No files matched your search

+5 -1
View File
@@ -160,7 +160,11 @@ class CustomerListExporter(OrganizerLevelExportMixin, MultiSheetListExporter):
]
if name_scheme and len(name_scheme['fields']) > 1:
for k, label, w in name_scheme['fields']:
row.append(obj.attendee_name_parts.get(k, ''))
row.append(
obj.attendee_name_parts.get(k, '')
if obj.attendee_name_parts
else ''
)
yield row
def get_filename(self):
+1 -1
View File
@@ -146,7 +146,7 @@ class PeppolIdValidator:
params={"number": prefix})
if self.validate_online:
base_hostnames = ['edelivery.tech.ec.europa.eu', 'acc.edelivery.tech.ec.europa.eu']
base_hostnames = ['participant.sml.prod.tech.peppol.org', 'participant.sml.test.tech.peppol.org']
smp_id = base64.b32encode(hashlib.sha256(value.lower().encode()).digest()).decode().rstrip("=")
for base_hostname in base_hostnames:
smp_domain = f'{smp_id}.iso6523-actorid-upis.{base_hostname}'
@@ -9,6 +9,22 @@ let form_handlers = function (el) {
}
})
// A11y-bug on iOS-26.x Safari/Chrome: select-element loses focus after option has been selected
el.find('select').one('touchstart', function (e) {
function focusAfterBlur () {
this.focus();
}
// click event seems wrong, but it triggers after select is closed even if no change is made
// change event triggers only if a different option than the selected one is selected
$(this).on("click", function () {
// only focus if element was blurred immediately after change, ie. the bug exists
$(this).one("blur", focusAfterBlur);
window.setTimeout(function() {
$(this).off("blur", focusAfterBlur);
}, 1);
});
});
el.find('.datetimepicker').each(function () {
$(this).datetimepicker({
format: $(this).attr('data-format') ? $(this).attr('data-format') : $('body').attr('data-datetimeformat'),