svn commit: r680654 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/images/checkoutProcess.js

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r680654 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/images/checkoutProcess.js

mor-2
Author: mor
Date: Tue Jul 29 02:42:29 2008
New Revision: 680654

URL: http://svn.apache.org/viewvc?rev=680654&view=rev
Log:
Misc. improvements by Sumit Pandit

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=680654&r1=680653&r2=680654&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/images/checkoutProcess.js (original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/images/checkoutProcess.js Tue Jul 29 02:42:29 2008
@@ -237,7 +237,7 @@
 }
 
 function createUpdateCustomerAndShippingAddress() {
-    new Ajax.Request('/ecommerce/control/createUpdateShippingAddress', {
+    new Ajax.Request('createUpdateShippingAddress', {
         asynchronous: false,
         onSuccess: function(transport) {
             var data = transport.responseText.evalJSON(true);
@@ -264,7 +264,7 @@
     var shipOptions = null;
     var optionList = [];
     if ($F('shipMethod') == "" || $F('shipMethod') == null) {
-    new Ajax.Request('/ecommerce/control/getShipOptions', {
+    new Ajax.Request('getShipOptions', {
             asynchronous: false,
             onSuccess: function(transport) {
                 var data = transport.responseText.evalJSON(true);
@@ -306,7 +306,7 @@
 var shipTotal = null;
 var shipMethod = null;
 function setShippingOption() {
-    new Ajax.Request('/ecommerce/control/setShippingOption', {
+    new Ajax.Request('setShippingOption', {
         asynchronous: false,
         onSuccess: function(transport) {
             var data = transport.responseText.evalJSON(true);
@@ -357,7 +357,7 @@
 }
 
 function processBillingAndPayment() {
-    new Ajax.Request('/ecommerce/control/createUpdateBillingAndPayment', {
+    new Ajax.Request('createUpdateBillingAndPayment', {
         asynchronous: false,
         onSuccess: function(transport) {
             var data = transport.responseText.evalJSON(true);
@@ -410,7 +410,7 @@
 }
 
 function addPromoCode() {
-    new Ajax.Request('/ecommerce/control/silentAddPromoCode', {
+    new Ajax.Request('silentAddPromoCode', {
         asynchronous: false,
         onSuccess: function(transport) {
             var data = transport.responseText.evalJSON(true);
@@ -431,7 +431,7 @@
     var itemIndex = null;
     var productIdParam = "productId=" + productId;
     var formValues = $('cartForm').serialize() + "&" + productIdParam;
-    new Ajax.Request('/ecommerce/control/getShoppingCartItemIndex', {
+    new Ajax.Request('getShoppingCartItemIndex', {
         asynchronous: false,
         onSuccess: function(transport) {
             var data = transport.responseText.evalJSON(true);
@@ -468,7 +468,7 @@
 }
 
 function updateCartData(elementId, formValues, itemQty, itemIndex) {
-    new Ajax.Request('/ecommerce/control/cartItemQtyUpdate', {
+    new Ajax.Request('cartItemQtyUpdate', {
         asynchronous: true,
         onSuccess: function(transport) {
             var data = transport.responseText.evalJSON(true);