From bdff49cf7067c3313323d32d236feb54ab3c3d1d Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 25 Apr 2007 18:11:54 +0000 Subject: [PATCH] updating city and county when new zip is entetered even if the fields already have data git-svn-id: svn://svn.open-ils.org/ILS/trunk@7165 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../staff_client/server/patron/ue_config.js | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/Evergreen/xul/staff_client/server/patron/ue_config.js b/Evergreen/xul/staff_client/server/patron/ue_config.js index 688852c17b..6b6449ab5b 100644 --- a/Evergreen/xul/staff_client/server/patron/ue_config.js +++ b/Evergreen/xul/staff_client/server/patron/ue_config.js @@ -760,18 +760,12 @@ function uEditBuildAddrFields(patron, address) { var state = $n(f.widget.base, 'ue_addr_state'); var county = $n(f.widget.base, 'ue_addr_county'); var city = $n(f.widget.base, 'ue_addr_city'); - if(!state.value) { - state.value = info.state; - state.onchange(); - } - if(!county.value) { - county.value = info.county; - county.onchange(); - } - if(!city.value) { - city.value = info.city; - city.onchange(); - } + state.value = info.state; + state.onchange(); + county.value = info.county; + county.onchange(); + city.value = info.city; + city.onchange(); } ); req.send(); -- 2.43.2