You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pa...@apache.org on 2013/02/28 14:54:15 UTC

svn commit: r1451198 - /ofbiz/branches/release11.04/applications/order/webapp/ordermgr/images/js/OrderShippingInfo.js

Author: paulfoxworthy
Date: Thu Feb 28 13:54:15 2013
New Revision: 1451198

URL: http://svn.apache.org/r1451198
Log:
Display states for default country in New Shipping Address for order https://issues.apache.org/jira/browse/OFBIZ-5125

Modified:
    ofbiz/branches/release11.04/applications/order/webapp/ordermgr/images/js/OrderShippingInfo.js

Modified: ofbiz/branches/release11.04/applications/order/webapp/ordermgr/images/js/OrderShippingInfo.js
URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/order/webapp/ordermgr/images/js/OrderShippingInfo.js?rev=1451198&r1=1451197&r2=1451198&view=diff
==============================================================================
--- ofbiz/branches/release11.04/applications/order/webapp/ordermgr/images/js/OrderShippingInfo.js (original)
+++ ofbiz/branches/release11.04/applications/order/webapp/ordermgr/images/js/OrderShippingInfo.js Thu Feb 28 13:54:15 2013
@@ -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');
     }
 });
\ No newline at end of file