Bugfix add lieferadresse

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

View File

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