On Jan 18, 2008 7:27 AM, Garito <[EMAIL PROTECTED]> wrote:
>
> I wonder why IPE sends an empty parameter that I not set
> It will be ok if I have more than an IPE at the same time but this is
> not the case

You are probably passing in an element object, as opposed to an
element ID, when you instantiate the IPE.

Maybe something like (where the span in the H1 has no ID):

var elem = $$('body h1 span')[0];
new Ajax.InPlaceEditor(elem, '/my/path')

Just a guess.

-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