On Fri, Jan 6, 2012 at 10:31 AM, Javier Quarite <jquari...@gmail.com> wrote:
> The scenario is a ... Exam Question, wich has 4 alternatives. After click on > an alternative it automatically saves/updates(only happens if its already > checked) If you just want to save the state of that radio button, why are you returning anything to the browser at all? And even if you wanted to refresh the page content from that partial, if it's rendering twice you have a targeting problem in your JS, like you're adding the form to the DOM instead of replacing the original, or something. Regardless, the right thing should happen even with multiple clicks in a short time period (so trying to prevent that is pointless, IMO). Can you come up with a *simple* test case that demonstrates this problem? -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.