app/assets/javascripts/plugins/ecommerce/cart.js in camaleon_ecommerce-1.1 vs app/assets/javascripts/plugins/ecommerce/cart.js in camaleon_ecommerce-1.2
- old
+ new
@@ -33,9 +33,12 @@
}).error(function(e){
alert(e.responseText);
});
return false;
}});
+ panel.find('#checkout_address_form #billing_address input').blur(function(){
+ panel.find('#checkout_address_form #'+$(this).attr('id').replace('billing_address', 'shipping_address')).val($(this).val())
+ });
// shipping form
panel.find('#checkout_shipping_form').validate({submitHandler: function(form){
$(form).fadeTo("fast", 0.4);
$.post($(form).attr('action'), $(form).serialize()+'&next_step=true', function(res){