Commit ca7b5f52 authored by mattwire's avatar mattwire
Browse files

Merge PR#16 (Always 'trigger change' on county element)

parent eba318d0
......@@ -231,8 +231,9 @@ function setAddressFields(address, blockNo, blockPrefix) {
cj(cityElement).val(address.town);
cj(postcodeElement).val(address.postcode);
if(typeof(address.state_province_id) != "undefined" && address.state_province_id !== null) {
cj(countyElement).val(address.state_province_id).trigger("change");
}
cj(countyElement).val(address.state_province_id);
}
cj(countyElement).trigger("change");
}
}
</script>
......
......@@ -175,8 +175,9 @@ function setAddressFields(address, blockNo) {
cj(cityElement).val(address.town);
cj(postcodeElement).val(address.postcode);
if(typeof(address.state_province_id) != "undefined" && address.state_province_id !== null) {
cj(countyElement).val(address.state_province_id).trigger("change");
cj(countyElement).val(address.state_province_id);
}
cj(countyElement).trigger("change");
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment