Hi all,
sorry, my English is not so good, I hope you understand my question.
I have a Form Observer, which calls an Ajax.Updater on any change in
the form.
Now I have the following problem: If you change two things very fast
in the form, the second request sometimes gets answered first, and
then the first, which then overwrites the update of the second.
Let me illustrate it
Chronological:
Request1 is being sent
Request2 is being sent
Request2 is answered and site gets updated
Request1 is answered and site gets updated with stale data

How can I prevent this elegantly in Prototype? I have tried to give
each request a consecutive id, but I don't really know how to make
this. Does anybody have a cool solution?
Thanks very much!
Greetings
Ernst


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to