// Fix bug with ajax updating address

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14147 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-03-14 13:34:26 +00:00
parent f2734eaf07
commit f3812d05cb
+2 -2
View File
@@ -103,11 +103,11 @@ function updateAddresses()
var idAddress_invoice = $('input[type=checkbox]#addressesAreEquals:checked').length == 1 ? idAddress_delivery : $('#id_address_invoice').val();
$.ajax({
type: 'POST',
url: baseDir + 'order.php',
url: baseDir,
async: true,
cache: false,
dataType : "json",
data: 'processAddress=true&step=2&ajax=true&id_address_delivery=' + idAddress_delivery + '&id_address_invoice=' + idAddress_invoice+ '&token=' + static_token ,
data: 'processAddress=true&step=2&ajax=true&controller=order&id_address_delivery=' + idAddress_delivery + '&id_address_invoice=' + idAddress_invoice+ '&token=' + static_token ,
success: function(jsonData)
{
if (jsonData.hasError)