Author: swapnilmmane
Date: Tue Feb 5 12:56:31 2019
New Revision: 1853003
URL:
http://svn.apache.org/viewvc?rev=1853003&view=revLog:
Fixed: 404 error while creating/updating contact information from the checkout page
(OFBIZ-10827)
Manually backported to release16.11 (committed in the trunk at rev 1852988)
Thanks: Ravi Lodhi for reporting the issue and Pawan Verma for providing the patch.
Modified:
ofbiz/branches/release16.11/applications/order/template/entry/CheckoutShippingAddress.ftl
Modified: ofbiz/branches/release16.11/applications/order/template/entry/CheckoutShippingAddress.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/order/template/entry/CheckoutShippingAddress.ftl?rev=1853003&r1=1853002&r2=1853003&view=diff==============================================================================
--- ofbiz/branches/release16.11/applications/order/template/entry/CheckoutShippingAddress.ftl (original)
+++ ofbiz/branches/release16.11/applications/order/template/entry/CheckoutShippingAddress.ftl Tue Feb 5 12:56:31 2019
@@ -30,11 +30,11 @@ function submitForm(form, mode, value) {
form.submit();
} else if (mode == "NA") {
// new address
- form.action="<@ofbizUrl>updateCheckoutOptions/editcontactmech?preContactMechTypeId=POSTAL_ADDRESS&contactMechPurposeTypeId=SHIPPING_LOCATION&DONE_PAGE=checkoutshippingaddress</@ofbizUrl>";
+ form.action="<@ofbizUrl>updateCheckoutOptions/editcontactmech?preContactMechTypeId=POSTAL_ADDRESS&contactMechPurposeTypeId=SHIPPING_LOCATION&DONE_PAGE=checkoutoptions</@ofbizUrl>";
form.submit();
} else if (mode == "EA") {
// edit address
- form.action="<@ofbizUrl>updateCheckoutOptions/editcontactmech?DONE_PAGE=checkoutshippingaddress&contactMechId="+value+"</@ofbizUrl>";
+ form.action="<@ofbizUrl>updateCheckoutOptions/editcontactmech?DONE_PAGE=checkoutoptions&contactMechId="+value+"</@ofbizUrl>";
form.submit();
}
}