Well, both. ajaxOptions is used to pass-through options to the
underlying AJAX infrastructure inside the InPlaceEditor. So they are
the standard Ajax.Xxxx options. The use of 'ajaxOptions' itself for
this purpose is probably not entirely standard (but maybe it should
be).

On 1/31/06, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:
> Thanks for that tip Jon. I hadn't noticed that one. So ajaxOptions is
> standard in the framework?
>
> btw, Nicolas's solution also worked.
>
> Jamie
> On Jan 30, 2006, at 2:57 PM, Jon Tirsen wrote:
>
> > I think you should be able to use the ajaxOptions option just like you
> > would any other option for an Ajax.Request. IIRC ajaxOptions:
> > {onSuccess: function() {...blah...}} should do the trick.
> >
> > HTH
> >
> > Cheers,
> > Jon
> >
> > On 1/26/06, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:
> >> I'm looking for onSuccess: in Ajax.InPlaceEditor, but it doesn't
> >> appear to exist. onComplete isn't what I need because I only want my
> >> callback on success. Is there a way to do this?
> >>
> >> Thanks,
> >>
> >> Jamie
> >> _______________________________________________
> >> Rails-spinoffs mailing list
> >> Rails-spinoffs@lists.rubyonrails.org
> >> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> >>
> > _______________________________________________
> > Rails-spinoffs mailing list
> > Rails-spinoffs@lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to