Hi there.
I have an application who was working fine with 1.1.6. When I upgraded
to 1.2.3, something weird happened with two RJS actions there. The code
returned from the RJS was not working anymore.
To make a small test I removed the RJS code and inserted just an
alert("Hello") there and then used Firebug to check if the request was
ok. There were the JavaScript onde on the request response, but there
were no alert on the browser.
Then I used
render :update do |page|
page.alert "Hello"
end
and it worked. Now I''m wondering why this happened. I upgraded the
JavaScripts files, seems to have all the right stuff there, but just
worked with render :update. But, if I made some new app from the start,
code from the RJS file works. Maybe something I need to change on the
old config files? I''m planning to make a diff on some of them to check
if something changed about that, but if you guys have some tip about
this I''ll be very thankful. :-)
Best regards,
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---