From fe7e7df6058dc4d01cdebfadd5ac6b80c3b15f7f Mon Sep 17 00:00:00 2001 From: lLefevre Date: Wed, 3 Oct 2012 15:45:29 +0000 Subject: [PATCH] [-] BO : fix #PSCFV-4681 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17733 b9a71923-0436-4b27-9f14-aed3839534dd --- themes/default/mobile/js/opc.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/default/mobile/js/opc.js b/themes/default/mobile/js/opc.js index 5a4352f79..6ef6a3a04 100644 --- a/themes/default/mobile/js/opc.js +++ b/themes/default/mobile/js/opc.js @@ -27,7 +27,7 @@ function initEvent() data: 'controller=cart&add&id_product='+$(this).data('id-product')+'&ipa='+$(this).data('id-product-attribute')+'&op='+op+'&qty='+qty+'&id_address_delivery=0&token='+static_token, success: function() { - window.location.href = baseDir+'index.php?controller=order-opc'; + window.location.href = orderOpcUrl; } }); } @@ -42,7 +42,7 @@ function initEvent() data: 'controller=order-opc&ajax=true&mobile_theme=true&method=updateAddressesSelected&id_address_delivery=' + $('#delivery-address-choice').val() + '&id_address_invoice=' + $('#invoice-address-choice').val() + '&token=' + static_token, success: function() { - window.location.href = baseDir+'index.php?controller=order-opc'; + window.location.href = orderOpcUrl; } }); }); @@ -129,7 +129,7 @@ function updateCarrierSection(elm) success: function(jsonData) { if (!elm.is('#gift')) - window.location.href = baseDir+'index.php?controller=order-opc'; + window.location.href = orderOpcUrl; } }); }