|
|
@ -181,7 +181,10 @@ function doZipCodeLookup(street, city, state) {
|
|
|
|
app.dialog.close();
|
|
|
|
app.dialog.close();
|
|
|
|
if (resp.status == "OK") {
|
|
|
|
if (resp.status == "OK") {
|
|
|
|
app.popup.close();
|
|
|
|
app.popup.close();
|
|
|
|
$("#to_street1").val(resp.address.address);
|
|
|
|
if (resp.address.dpv_confirmed) {
|
|
|
|
|
|
|
|
// If an exact deliverable match was found, fill in the verified street address
|
|
|
|
|
|
|
|
$("#to_street1").val(resp.address.address);
|
|
|
|
|
|
|
|
}
|
|
|
|
$("#to_zip").val(resp.address.zip);
|
|
|
|
$("#to_zip").val(resp.address.zip);
|
|
|
|
app.input.checkEmptyState('#to_street1');
|
|
|
|
app.input.checkEmptyState('#to_street1');
|
|
|
|
app.input.checkEmptyState('#to_zip');
|
|
|
|
app.input.checkEmptyState('#to_zip');
|
|
|
|