Bugfix add lieferadresse

This commit is contained in:
OpenXE 2024-09-11 09:54:43 +02:00
parent b7cf1dd04a
commit 616e3e8ee7

View File

@ -145,6 +145,7 @@ class Bundesstaaten {
var bundeslandel = $(\'#'.$bundeslandid.'\');
var bundeslandval = $(bundeslandel).val();
$(bundeslandel).html(\'<option value=""></option>\');
if (typeof bundeslaender'.$bundeslandid.' !== \'undefined\') {
$(bundeslaender'.$bundeslandid.').each(function(k,v){
if(landsel == v.land)
{
@ -152,6 +153,7 @@ class Bundesstaaten {
}
});
$(bundeslaender'.$bundeslandid.').val(bundeslandval);
}
});
});
</script>');