Hello ,
I have a PeriodicalUpdater executing every x seconds and
sends a ajax
request to update an element.
Each time it comes back, the element is getting replaced
with some
html and and possibly
<script>coolFunction()</script>.
This seems to work fine when for prototype 1.5.
However when I upgraded to prototype 1.6, it seems to
execute
coolFunction() as many times as the request has been
called.
For example: the PeriodicalUpdater has already send out 5
request
already without <script>coolFunction</script>,
on the 6th one the
response has a <script>coolFunction</script>.
Prototype will call
coolFunction six times.
What is the problem here? I didnt used to have it when I
used
prototype 1.5
Any help is appreciated
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|