Author: mor
Date: Thu Jul 17 02:45:15 2008
New Revision: 677548
URL:
http://svn.apache.org/viewvc?rev=677548&view=revLog:
Small changes to previous commit. Used equality operator instead of match() method.
Modified:
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/images/checkoutProcess.js
Modified: ofbiz/trunk/applications/ecommerce/webapp/ecommerce/images/checkoutProcess.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/images/checkoutProcess.js?rev=677548&r1=677547&r2=677548&view=diff==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/images/checkoutProcess.js (original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/images/checkoutProcess.js Thu Jul 17 02:45:15 2008
@@ -591,7 +591,7 @@
function setShipToCountryGeoId() {
countryList.each(function(country) {
var countryName = country.split(': ');
- if ((($('shipToCountryGeo').value).toUpperCase()).match((countryName[0]).toUpperCase())) {
+ if ($F('shipToCountryGeo').toUpperCase() == countryName[0].toUpperCase()) {
$('shipToCountryGeoId').value = countryName[1];
}
});
@@ -600,7 +600,7 @@
function setShipToStateProvinceGeoId() {
stateList.each(function(state) {
var stateName = state.split(': ');
- if ((($('shipToStateProvinceGeo').value).toUpperCase()).match((stateName[0]).toUpperCase())) {
+ if ($F('shipToStateProvinceGeo').toUpperCase() == stateName[0].toUpperCase()) {
$('shipToStateProvinceGeoId').value = stateName[1];
}
});