[-] FO : Follow up https://github.com/PrestaShop/PrestaShop/pull/879
This commit is contained in:
1 parent
1cc0134ec3
commit
81945cef71
1 file changed
+2
-2
@@ -64,14 +64,14 @@ $(document).ready(function() {
|
||||
});
|
||||
function vat_number()
|
||||
{
|
||||
if ($('#company').val() != '')
|
||||
if (($('#company').length) && ($('#company').val() != ''))
|
||||
$('#vat_number').show();
|
||||
else
|
||||
$('#vat_number').hide();
|
||||
}
|
||||
function vat_number_invoice()
|
||||
{
|
||||
if ($('#company_invoice').val() != '')
|
||||
if (($('#company_invoice').length) && ($('#company_invoice').val() != ''))
|
||||
$('#vat_number_block_invoice').show();
|
||||
else
|
||||
$('#vat_number_block_invoice').hide();
|
||||
|
||||
Reference in new issue
Block a user