Hi, I am using a drag tag <%= drop_receiving_element%> tag to invoke an action. At the end of this action i want to perform a reload of the page. I thought this could be don e by a redirect_to, but that is not the case. It opens the complete page, but within the div dags where i do the dragging. of course, i can define other divs but i need a complete refresh. is this possible? -- 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 -~----------~----~----~----~------~----~------~--~---
You can do something like this... <%= drop_receiving_element "drop_div_id", :update => "change_div_id", :url => { :action => "action_" }, :accept => "accept_div_id", :hoverclass => ''hover'', :loading => "Element.show(''spinner_id'')", :complete => "Element.hide(''spinner_id''); new Effect.Highlight(''change_div_id'');return false;" %> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---