Author: ashish
Date: Fri Nov 27 13:45:59 2009
New Revision: 884875
URL:
http://svn.apache.org/viewvc?rev=884875&view=revLog:
Billing Address form not able to retain its value when we provide the same username on profile page and we select check box "Billing Address Same as shipping address". Thanks Arun for the patch.
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/images/profile.js
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/images/profile.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/images/profile.js?rev=884875&r1=884874&r2=884875&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/images/profile.js (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/images/profile.js Fri Nov 27 13:45:59 2009
@@ -25,6 +25,7 @@
validateNewUser = new Validation('newUserForm', {immediate: true, onSubmit: false});
addValidations();
Event.observe($('emailAddress'), 'change', setUserNameFromEmail);
+ useShippingAddressAsBillingToggle();
Event.observe('useShippingAddressForBilling', 'click', useShippingAddressAsBillingToggle);
Event.observe($('submitNewUserForm'), 'click', submitValidNewUser);
// Get associate states for Shipping Information