Hellow, I have such problem. So I have usual .js.erb template, which is 
called from controller with format.js 
This template is just for testing now, so only calls alert message, if some 
links are clicked. I didn't modified default layout document.
The problem is that on first click nothing happens, than it alerts as many 
times, as all links was clicked until this moment.
So 1st time click - zero alerts, 2 time click - 1 alert, 3 time click - 2 
alerts and so on.
The code of Jquery file is so simple, that definetely not the source of 
problem.
May be some ideas?

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/co0W2k8GFE4J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to