It's perfect,
thanks my friend!
On Jul 14, 5:06 pm, Takanori Ishikawa <[EMAIL PROTECTED]>
wrote:
> I'm using Object.extend.
>
> Object.extend(Ajax.InPlaceEditor.prototype, {
> onLeaveEditMode: function() {
> alert("onLeaveEditMode");
> }
> });
> new Ajax.InPlaceEditor('editme', '#', {rows: 15, cols:40});
>
> or
>
> var editor = new Ajax.InPlaceEditor('editme', '#', {rows: 15, cols:
> 40});
> Object.extend(editor, {
> onLeaveEditMode: function() {
> alert("onLeaveEditMode");
> }
> });
>
> Hope this help.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---