small medium large xlarge

Pt-F-1-31

ys says:

what i did was

1. add format.js on carts controller destroy method

2. add remote: true on empty button

3. create destroy.js.erb in views/carts with

   $('#cart').html("<%=j render @cart %>");
  $('#cart').hide('blind', 1000);
Page History
  • V43: Juan Carlos Pazmino [3 months ago]
  • V42: Juan Carlos Pazmino [3 months ago]
  • V41: Michael Guren [almost 4 years ago]
  • V39: Ian McNaney [almost 4 years ago]
  • V40: System [almost 4 years ago]
  • V41: Malcolm McKeown [about 4 years ago]
  • V40: Malcolm McKeown [about 4 years ago]
  • V39: Malcolm McKeown [about 4 years ago]
  • V38: Malcolm McKeown [about 4 years ago]
  • V37: Malcolm McKeown [about 4 years ago]