app/assets/javascripts/plugins/ecommerce/cart.js in camaleon_ecommerce-1.2.1 vs app/assets/javascripts/plugins/ecommerce/cart.js in camaleon_ecommerce-2.0.0
- old
+ new
@@ -28,9 +28,10 @@
$(form).fadeTo("fast", 0.4);
$.post($(form).attr('action'), $(form).serialize(), function(res){
steps.filter('.active').next().trigger('next_step');
}).complete(function(){
$(form).fadeTo("fast", 1);
+ $(window).scrollTop($('#cama_checkout_view').offset().top);
}).error(function(e){
alert(e.responseText);
});
return false;
}});