small medium large xlarge

Imag0120_1_pragsmall
22 May 2017, 16:38
Patrício João dos Santos (6 posts)

On Page 160/161, if we already have rails-ujs why we need to add jquery_ujs ?

including both will cause a confirmation dialog (like the one to confirm empty cart) to pop up twice.

I really need to add jquery_ujs ?

Samr_small_pragsmall
22 May 2017, 20:08
Sam Ruby (634 posts)

Good catch!

The prose isn’t clear, but in the code excerpt you can see that rails_ujs was replaced with jquery_ujs.

You are correct that the replacement is unnecessary. We’ll fix this in an upcoming beta.

Once again, thanks for reporting this!

You must be logged in to comment