> I tried setting htmlResponse: false, I think that solved the problem, > but now I just see "Saving . . . . ." How do I update it with the > latest value?
Why are you only responding to the JS content type if the save was successful. You need to handle both situations. Also, if you're going to turn evalScripts on (htmlResponse:false) then you need to handle updating the element with some returned javascript. Something like: render :update do |page| page.replace_html 'edit_field', 'the new value' end Lastly, with your respond_to block, the format.html call needs to be first. You will have issues in IE if you don't do this. Like: > respond_to do |format| > format.html { redirect_to(@box) } > format.js > format.xml { head :ok } -justin --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---