small medium large xlarge

25 Oct 2015, 15:05
Jason Neely (1 post)

As Sean Smith pointed out in the errata, there is a bug with the javascript not showing the cart items when the first item is added to the cart. A patch for this is to insert in the second line of /views/line_items/create.js.erb

if ($(‘#cart tr’).length < 2 ) {$(“#price_line”.addEventListener(“click”, window.location.reload(true)) );}

You must be logged in to comment