Hello.
In my app jquery script runs strange and wrong. So I have usuall .js.erb 
template, which is called from controller by format.js 
This template is just for testing now, so it only calls alert message, if 
some links are clicked. I didn't modify 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/-/xhLJSqVkFv8J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to