Displaying 2 results from an estimated 2 matches for "refresh_app".
2006 Apr 11
0
in_place_editor_field breaks with onComplet option
Hi,
Don''t know why, but the in_place_editor_field doesn''t work anymore afte
a one time update when I
include {:options => "{onComplete: refresh_app}"}.
(complete line)
<%= in_place_editor_field :appointment, ''title'', {}, {:options =>
"{onComplete: refresh_app}"} -%>
Is this a reproducable problem, or is there something wrong with my code?
Kind regards,
Jeroen van Doorn
2006 Jan 18
5
Perform action after in-place edit
I want to be able to call an action after performing an edit using the
in-place editor macro. I want to update multiple divs so I was
thinking about using an RJS template. However, I can''t figure out how
to trigger another action after the method created by
in_place_edit_for runs. Is there is an option on Ajax.InPlaceEditor
where I can inject some Element.update calls?
Thanks,
Shane