VAT fixes

This commit is contained in:
Albert Santoni 2014-06-26 17:44:53 -04:00
parent 18c828defd
commit d785d92953
2 changed files with 8 additions and 6 deletions

View file

@ -149,10 +149,8 @@ $(document).ready(function() {
return;
}
vatFieldChangeTimer = setTimeout(function() {
//TODO: validate VAT number
validateVATNumber();
recalculateTotals();
}, 2000);
validateVATNumber(); //Validate and recalculate the totals
}, 1500); //Wait 1.5 seconds before validating the VAT number
});
$("#hobbyist_grid_price").text("$" + products[0].pricing["USD"]["monthly"] + " / month");