Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //billing address change complete
- $(document).on('change', '#' + that.getOptions().billingAddressContainer + ' input, #' + that.getOptions().billingAddressContainer + ' select', function(event){
- if(that.billingAddressNeedUpdate){
- var varienForm = new VarienForm(that.getOptions().billingAddressContainer, true);
- if( varienForm.validator.validate() ){
- if(that.billingAddressTimeout){
- clearTimeout(that.billingAddressTimeout);
- }
- that.billingAddressTimeout = setTimeout(function(){that.updateBillingAddress();}, 1000);
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement