> Turning htmlReponse on or off did not seem to make a difference. I
> think that may be because my server-side Seaside framework turns on
> evalScripts by default.

Setting htmlResponse to false means that the form submission will use
a plain Ajax.Request instead of an Ajax.Updater. See the method
Ajax.InPlaceEditor#handleFormSubmission for usage.

Also, if you have htmlResponse:false then it looks like you
additionally need to pass in an extra option for the response from
your server to be evaluated. Here is an improved call:

new Ajax.InPlaceEditor( 'element-id', { htmlResponse:false,
ajaxOptions:{evalScripts:true} } );

Sorry for any confusion this caused.

-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 [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-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to