[-] BO : #PSTEST-572 : bug fixed

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12644 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mBertholino
2012-01-24 15:19:59 +00:00
parent c4ca3d12df
commit 4c7e9db289
@@ -429,8 +429,18 @@
addresses_options += '<option value="'+this.id_address+'">'+this.alias+'</option>';
});
$('#id_address_delivery').html(addresses_options);
$('#id_address_invoice').html(addresses_options);
if (addresses_options == '')
{
$('#address_delivery').hide();
$('#address_invoice').hide();
}
else
{
$('#id_address_delivery').html(addresses_options);
$('#id_address_invoice').html(addresses_options);
$('#address_delivery').show();
$('#address_invoice').show();
}
$('#address_delivery_detail,#address_invoice_detail').html(address_detail);
}
if (res.id_cart)