mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
Bugfix add lieferadresse
This commit is contained in:
parent
b7cf1dd04a
commit
616e3e8ee7
@ -145,13 +145,15 @@ class Bundesstaaten {
|
||||
var bundeslandel = $(\'#'.$bundeslandid.'\');
|
||||
var bundeslandval = $(bundeslandel).val();
|
||||
$(bundeslandel).html(\'<option value=""></option>\');
|
||||
$(bundeslaender'.$bundeslandid.').each(function(k,v){
|
||||
if(landsel == v.land)
|
||||
{
|
||||
$(bundeslandel).html($(bundeslandel).html()+\'<option value="\'+v.iso+\'">\'+v.bundesstaat+\'</option>\');
|
||||
}
|
||||
});
|
||||
$(bundeslaender'.$bundeslandid.').val(bundeslandval);
|
||||
if (typeof bundeslaender'.$bundeslandid.' !== \'undefined\') {
|
||||
$(bundeslaender'.$bundeslandid.').each(function(k,v){
|
||||
if(landsel == v.land)
|
||||
{
|
||||
$(bundeslandel).html($(bundeslandel).html()+\'<option value="\'+v.iso+\'">\'+v.bundesstaat+\'</option>\');
|
||||
}
|
||||
});
|
||||
$(bundeslaender'.$bundeslandid.').val(bundeslandval);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>');
|
||||
|
Loading…
Reference in New Issue
Block a user