From 4d29142907e18e6464b31fd8100daf6bbf1d3b7c Mon Sep 17 00:00:00 2001 From: Seynaeve Date: Tue, 6 Aug 2013 14:15:45 +0200 Subject: [PATCH] Allow B2B to navigate through the form with Tab With $('#company').blur(function(){ VAT only appears when we leave the input and therefore does not allow to navigate through the form with Tab With $('#company').on('input',function(){ that work --- themes/default/address.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/address.tpl b/themes/default/address.tpl index e5054515e..6025dc94b 100644 --- a/themes/default/address.tpl +++ b/themes/default/address.tpl @@ -48,7 +48,7 @@ $(function(){ldelim} {rdelim}); {literal} $(document).ready(function() { - $('#company').blur(function(){ + $('#company').on('input',function(){ vat_number(); }); vat_number();