[-] 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:
1 parent
c4ca3d12df
commit
4c7e9db289
1 file changed
+12
-2
@@ -429,8 +429,18 @@
|
|||||||
addresses_options += '<option value="'+this.id_address+'">'+this.alias+'</option>';
|
addresses_options += '<option value="'+this.id_address+'">'+this.alias+'</option>';
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#id_address_delivery').html(addresses_options);
|
if (addresses_options == '')
|
||||||
$('#id_address_invoice').html(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);
|
$('#address_delivery_detail,#address_invoice_detail').html(address_detail);
|
||||||
}
|
}
|
||||||
if (res.id_cart)
|
if (res.id_cart)
|
||||||
|
|||||||
Reference in new issue
Block a user