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 with $('#cart').html("<%=j render @cart %>"); $('#cart').hide('blind', 1000); in views/carts

Page History
  • V43: Juan Carlos Pazmino [5 months ago]
  • V42: Juan Carlos Pazmino [5 months ago]
  • V41: Michael Guren [almost 4 years ago]
  • V39: Ian McNaney [about 4 years ago]
  • V40: System [about 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]