I have a form that submits search criteria and while it is processing I
wanted to use a js function to indicate:
<% form_remote_tag :update => 'mainbody', :url => {:action => 'search'},
:before => "wait_message('mainbody','S E A R C H I N G')" do%>
wait_message() executes but then when the data comes back, I get
ActionController::InvalidAuthenticityToken in DocdirController#search
Everything works fine without the :before => callback. How should I do
this?
--
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 [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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---