details is here: http://stackoverflow.com/questions/18068951/rails-4-turbolinks-make-js-not-working-correct in short, Turbolinks make js form submit multiple times -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAO1cLnxCH%2B3JKMdDw7rBMx%3DVsp0X4nCuSZSU-JqwO68D64thig%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Robert Walker
2013-Aug-07 13:11 UTC
Re: Rails 4 Turbolinks make js not working as expected
William Herry wrote in post #1117842:> details is here: >http://stackoverflow.com/questions/18068951/rails-4-turbolinks-make-js-not-working-correct> > in short, Turbolinks make js form submit multiple timesAre you sure you have complied to the compatibility requirements of turbolinks? https://github.com/rails/turbolinks/ Compatibility Turbolinks is designed to work with any browser that fully supports pushState and all the related APIs. This includes Safari 6.0+ (but not Safari 5.1.x!), IE10, and latest Chromes and Firefoxes. Do note that existing JavaScript libraries may not all be compatible with Turbolinks out of the box due to the change in instantiation cycle. You might very well have to modify them to work with Turbolinks'' new set of events. For help with this, check out the Turbolinks Compatibility project. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6be24d6456646640e206a433c54faac2%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
William Herry
2013-Aug-07 13:27 UTC
Re: Re: Rails 4 Turbolinks make js not working as expected
T hanks Robert for your answer it is a new project and I use latest chromes, it is because my coworker put Turbolinks include code within body instand head, after move it to head solve my problem, thanks On Wed, Aug 7, 2013 at 9:11 PM, Robert Walker <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> William Herry wrote in post #1117842: > > details is here: > > > > http://stackoverflow.com/questions/18068951/rails-4-turbolinks-make-js-not-working-correct > > > > in short, Turbolinks make js form submit multiple times > > Are you sure you have complied to the compatibility requirements of > turbolinks? > > https://github.com/rails/turbolinks/ > > Compatibility > > Turbolinks is designed to work with any browser that fully supports > pushState and all the related APIs. This includes Safari 6.0+ (but not > Safari 5.1.x!), IE10, and latest Chromes and Firefoxes. > > Do note that existing JavaScript libraries may not all be compatible > with Turbolinks out of the box due to the change in instantiation cycle. > You might very well have to modify them to work with Turbolinks'' new set > of events. For help with this, check out the Turbolinks Compatibility > project. > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/6be24d6456646640e206a433c54faac2%40ruby-forum.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAO1cLnym5EhbT_PF%2BvTgbb1_JCaZ_fLz3jFTLbYPtrOV3t16mA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.