Permalink
Browse files

Display states for default country in New Shipping Address for order h…

  • Loading branch information...
1 parent 8602d42 commit 2b6477ec12b9fe1e6655bf58197d91e9ad6e5844 Paul Foxworthy committed Feb 28, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 applications/order/webapp/ordermgr/images/js/OrderShippingInfo.js
@@ -27,5 +27,8 @@ jQuery(document).ready( function() {
jQuery('#countryGeoId').change( function() {
getAssociatedStateList('countryGeoId', 'stateProvinceGeoId', 'advice-required-stateProvinceGeoId', 'states');
});
+
+ // Populate state list based on default country
+ getAssociatedStateList('countryGeoId', 'stateProvinceGeoId', 'advice-required-stateProvinceGeoId', 'states');
}
});

0 comments on commit 2b6477e

Please sign in to comment.